Some C++ utilities
function_traits
includearity
,result_type
andarg<N>
, also definedarguments_tuple
that contains all argument typesmake_function
creates std::function wrapper that matches the original function signaturemake_function_type<F>
is the correspoding type for std::function wrappervariant
Similiar to Boost.Variant, with fullmove
and rvalue-reference support, less hacks, i.e. avoid using ofboost::detail::variant::void_
to fulfill all template arguments.
暂无更多评论