value & swap(value & rhs)
{
std::swap(content, rhs.content);
value & swap(value & rhs)
{
std::swap(content, rhs.content);
public: //allocation interface
void *operator new(unsigned int size)
{
assert(size == sizeof(holder<T>));
public: //allocation interface
void *operator new(unsigned int size)
{
assert(size == sizeof(holder<T>));
if the types do not agree.
\note I'm not sure why boost::any didn't use a reference here... there must be a reason...
if the types do not agree.
\note I'm not sure why boost::any didn't use a reference here... there must be a reason...