
Zitat von Robert Ramey
Stefan Strasser wrote:
Zitat von Ryan Gallagher
: alfC
writes: I stumbled upon the concept of true typedef, or strong typedef in opposition to usual typedef which are weak. [snip] I was wondering if this is already implemented in some corner of Boost, or as a detail implementation.
There's a detail impl in serialization, I believe. Search for BOOST_STRONG_TYPEDEF
there is more interesting stuff in Boost.Seriailzation that could be part of boost in general. - especially seriailzation::singleton, because it requires linking to the serialization library even though you don't serialize anything.
Hmmm - the whole purpose of boost::serialization::singleton was to be header only and require no linking against any other library. Did I get this wrong?
I just remember that I got linking errors related to singletons when using them in (Boost.)Intro. but I'll doublecheck, maybe I'm using something else from Boost.Seriailzation that caused these.
- ptr_serialization_support in http://www.boost.org/doc/libs/1_41_0/boost/serialization/export.hpp which forces instantiation of a function.
this apparently cannot be implemented platform independently, so Boost.Config might be the right library for it?
These are related to boost::serialization::extended_type_info which extends the standard type_info facility in accordance with the needs of boost serialization. This results (sort of as a side effect) support for runtime plugin - sort of like a poor man's C++ COM.
I'm not sure if we're talking about the same thing here as I don't see
the connection. I meant mostly this code:
template