https://issues.dlang.org/show_bug.cgi?id=18153

Seb <greensunn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greensunn...@gmail.com
            Summary|undocumented public structs |deprecate public symbols
                   |ByLine, ByRecord, ByChunk   |ByLine, ByRecord, ByChunk

--- Comment #1 from Seb <greensunn...@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;
```

--

Reply via email to