1. 程式人生 > >(一)boost::lambda原始碼分析

(一)boost::lambda原始碼分析

 


// is_instance_of_n<A, B>::value is true, if type A is
// an instantiation of a template B, or A derives from an instantiation
// of template B
//
// n is the number of template arguments for B
//
// Example:
// is_instance_of_2<std::istream, basic_stream>::value == true