Commit Graph
19 Commits
Author SHA1 Message Date
Shane Grant 41d3098f8e Fixed a bug relating to overload resolution for loading types. ProcessImpl was taking a universal reference and the
type traits were failing on T& as opposed to a T.  loading's processimpl now only takes refs.  we still let op() take
r-values in case someone passes it an nvp or something
2013-07-04 17:54:03 -07:00
Shane Grant cb6e04c8a6 NVP + traits changes
Added more NVP info to types that need it

Adding ability to detect a save function (member or non-member) that is incorrectly declared as non-const.  This is
needed since some nasty compilation errors crop up if you explicitly specify a serialization type and register that type
with an incorrectly constified save function.

So not done yet, but soon in: using a non const save function will trigger a static assertion.

Still need to investigate registering types with explicit disambiguation
2013-07-04 17:33:13 -07:00
Randolph Voorhies 38a28aa2de Case for serializing true polymorphic pointers 2013-07-02 15:13:47 -07:00
Randolph Voorhies adcc87cc1f Added base_class to complement virtual_base_class 2013-07-01 16:12:43 -07:00
Shane Grant d06b100cb5 weak_ptr seems to work for poly types 2013-07-01 11:28:54 -07:00
Shane Grant 7f791d2af9 mostly documentation, some playing around with weak_ptr but it doesn't seem to be properly working 2013-06-29 11:50:51 -07:00
Randolph Voorhies 0ff5a0fe25 Polymorphic unique_ptrs working 2013-06-28 18:09:13 -07:00
Randolph Voorhies d9493f02ca Loading polymorphig shared_ptrs works 2013-06-28 17:23:30 -07:00
Randolph Voorhies 3c9554f8a2 null ptr support to unique_ptr 2013-06-28 15:54:45 -07:00
Randolph Voorhies f1b42507d7 Basic polymorphism serialization works! 2013-06-28 15:29:40 -07:00
Randolph Voorhies 1cb49610b6 Made OutputBinding serializers 2013-06-28 15:23:13 -07:00
Randolph Voorhies d72cfd7297 OutputBinding initial implementation 2013-06-28 14:53:47 -07:00
Randolph Voorhies 35f538ecae Implemented PtrWrapper in memory 2013-06-28 14:02:13 -07:00
Shane Grant 3815c06798 ?? went to lunch 2013-06-28 13:23:57 -07:00
Shane Grant 38d0b19958 organizing polymorphic support 2013-06-28 11:25:18 -07:00
Shane Grant 337eefd11e cleanup 2013-06-27 17:56:54 -07:00
Shane Grant 3efeab031d fixing up polymorph prototype 2013-06-27 17:39:20 -07:00
Shane Grant 0414f5dcf6 foundations for polymorphism support 2013-06-27 17:12:42 -07:00
Awesome Robot 3c82b53157 adding another sandbox, fixed an include 2013-06-26 14:57:09 -07:00