Watch 7 Star 6 Fork 0

Windoze / variantC++WTFPL

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
增强版Boost.Variant,完整支持C++11的move和rvalue-reference spread retract

Clone or download
Notice: Creating folder will generate an empty file .keep, because not support in Git


Some C++ utilities

  • function_traits include arity, result_type and arg<N>, also defined arguments_tuple that contains all argument types
  • make_function creates std::function wrapper that matches the original function signature
  • make_function_type<F> is the correspoding type for std::function wrapper
  • variant Similiar to Boost.Variant, with full move and rvalue-reference support, less hacks, i.e. avoid using of boost::detail::variant::void_ to fulfill all template arguments.

Comments ( 0 )

You need to Sign in for post a comment

Help Search