Boost logo

Boost :

Subject: Re: [boost] [TypeIndex] Peer review period for library acceptance begins, ending Thurs 21st Nov
From: Mathieu Champlon (m.champlon_at_[hidden])
Date: 2013-11-14 17:12:04


Hi,

Quickly skimming the documentation and code I'm just wondering what
exactly would be the problem if I were to do :

template <class T>
const type_info& my_type_id( const T& ) {
     return type_info::construct<T>();
}

my_type_id( variable ) // instead of boost::type_id_rtti_only(variable)

?

Thanks,
MAT.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk