[Issue 18153] deprecate public symbols ByLine, ByRecord, ByChunk
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 2 23:22:26 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18153
Seb <greensunny12 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |greensunny12 at gmail.com
Summary|undocumented public structs |deprecate public symbols
|ByLine, ByRecord, ByChunk |ByLine, ByRecord, ByChunk
--- Comment #1 from Seb <greensunny12 at gmail.com> ---
Have a look here: https://github.com/dlang/phobos/blob/master/std/stdio.d#L2070
A long time ago ByLine and friends used to be publicly documented. However, it
was realized that this is a mistake and thus only undocumented.
> suggest either making them private (like ByLineCopy)
Yes, that's the way to move forward. It can be done with sth. like this:
```
deprecated("Use .byLine")
alias ByLine = ByLineImpl;
```
--
More information about the Digitalmars-d-bugs
mailing list