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.

 

regards,