Boost logo

Boost Users :

Subject: Re: [Boost-users] true typedef (true_typedef) implemented in boost?
From: Stefan Strasser (strasser_at_[hidden])
Date: 2010-07-17 10:27:13


Zitat von Ryan Gallagher <ryan.gallagher_at_[hidden]>:

> alfC <alfredo.correa <at> gmail.com> 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.
  - 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?
  - smart_cast


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net