# variant **Repository Path**: windoze/variant ## Basic Information - **Project Name**: variant - **Description**: 增强版Boost.Variant,完整支持C++11的move和rvalue-reference - **Primary Language**: C++ - **License**: WTFPL - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 7 - **Forks**: 0 - **Created**: 2014-12-30 - **Last Updated**: 2024-05-11 ## Categories & Tags **Categories**: utils **Tags**: None ## README cxxstuff ======== Some C++ utilities * `function_traits` include `arity`, `result_type` and `arg`, also defined `arguments_tuple` that contains all argument types * `make_function` creates std::function wrapper that matches the original function signature * `make_function_type` 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.