News for hackers. Stuff that matters.
Re:Specification for the D Programming Language by Neku42 on Wednesday January 08, 2020 @02:55PM (#21995093)
Standard library doesn’t provide similar functionality but it’s trivial to implement a mixin template that would implement print or hash function for any type

That being said standard formatting function can automatically print most types including user types. This eliminates necessity for automatic formatting implementation in majority of situations

There are no comments on this comment yet.