boost::mpl::integral_c is declared as:
template <typename T, T N>
struct integral_c;
Is it possible to register this sort of template with Boost.Typeof:
- For any
T? - For som开发者_运维知识库e
T's?
N is a template parameter so it can only be a numeric type, therefore it only allows numeric types of T, the sort for which you can have template parameters.
Note that template parameters can be member pointer-to-function types or member pointer-to-data types but these are also considered types.
加载中,请稍侯......
精彩评论