type trait, type alias和type def 更多...
#include "mm_cfg.h"
#include <cstddef>
#include <exception>
#include <tuple>
#include <type_traits>
#include <utility>
命名空间 | |
namespace | mtfmt |
namespace | mtfmt::details |
类型定义 | |
template<typename F > | |
using | mtfmt::details::function_return_type_t = typename function_trait< F >::return_type_t |
取得函数的返回值类型 | |
template<typename F > | |
using | mtfmt::details::function_arg_tuple_t = typename function_trait< F >::arg_tuple_t |
取得函数的参数类型 | |
template<bool cond, typename T > | |
using | mtfmt::details::enable_if_t = typename std::enable_if< cond, T >::type |
enable_if_t, 和cpp14一样(但是这里是cpp11呜呜呜) | |
type trait, type alias和type def