mirror of
https://github.com/dlang/phobos.git
synced 2025-05-02 16:10:45 +03:00
![]() `nullSink` returns the `NullSink` by reference and thus allows using it directly in code which expects an OutputRange by reference. The pattern is providing convenience wrappers for struct construction is very common in Phobos, e.g. `rebindable`, `nullable`, `refCounted`, ... |
||
---|---|---|
.. | ||
interfaces.d | ||
package.d | ||
primitives.d |