]> git.tdb.fi Git - libs/datafile.git/commit - source/loader.h
Add more flexible versions of the load function
authorMikko Rasa <tdb@tdb.fi>
Fri, 24 May 2019 17:25:39 +0000 (20:25 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 24 May 2019 17:25:39 +0000 (20:25 +0300)
commit6a033cf0f5164915168f9cb778e801ed86450e1c
treef5438eda1020773908751c35d103d007c6ef0dc6
parent41e78ee91ca058ead90fa1c8ee4339d2ef1b0f31
Add more flexible versions of the load function

Firstly there's a variadic version of the basic load function.  Secondly
and perhaps more importantly there are versions which can load an object
from a file stored in a collection.  All of these are only implemented
for C++11 for now, since supporting the old version seems increasingly
irrelevant.
source/loader.h