Hi, I am trying to serialize out the value of OpenEXR's Half type values.
I came across mention that custom types requires something like the following ``` namespace boost { namespace serialization { template<class Archive> void serialize(Archive & ar, half & h, const unsigned int version) { ar & boost::serialization::make_nvp("value", h); } } // namespace serialization } // namespace boost ``` The code compiles but when I run it, it segfaults. Is boost serializer a suitable for such use case ? Cheers -- Nicholas Yue https://www.linkedin.com/in/nicholasyue/
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users