
8 Sep
2010
8 Sep
'10
12:56 p.m.
On 9/8/2010 3:08 AM, Hicham Mouline wrote:
Hello,
Is there a way to print the type returned by a metafunction
typedef some_metafunction<T>::type result_type;
during compile-time (probably via triggering a compilation error). I almost recall some sort of static assertion (mpl ?) to do this.
boost::mpl::print in boost/mpl/print.hpp. Neither seem to be documented. -- Eric Niebler BoostPro Computing http://www.boostpro.com