Use of "T"

Stanislav Blinov via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Apr 12 16:05:41 PDT 2017


On Wednesday, 12 April 2017 at 22:56:25 UTC, solidstate1991 wrote:

> I know the existence of those and I'm frequently using them, 
> however I need a two-way one. (Might be using two hash-tables 
> instead if I can't find a better solution)

So, you're looking for a generic way to store objects of 
arbitrary types in a file, and later retrieve those objects from 
that file? If that's the case, try looking at some existing 
serialization solutions (i.e. 
https://wiki.dlang.org/Serialization_Libraries).



More information about the Digitalmars-d-learn mailing list