📄 template_arity.hpp
字号:
// preprocessed version of 'boost/mpl/aux_/template_arity.hpp' header
// see the original for copyright information
namespace boost { namespace mpl { namespace aux {
template< bool >
struct template_arity_impl
{
template< typename F > struct result_
{
static int const value = -1;
};
};
template<>
struct template_arity_impl<true>
{
template< typename F > struct result_
{
enum { value = F::arity };
};
};
template< typename F >
struct template_arity
: template_arity_impl< ::boost::mpl::aux::has_rebind<F>::value >
::template result_<F>
{
};
}}} // namespace boost::mpl::aux
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -