Templa 0.0.1-alpha
C++ Metaprogramming Utilities
Loading...
Searching...
No Matches
templa::convert::convert_to_variant< Ts > Struct Template Reference

Converts a pack of types into a std::variant of those types. More...

#include <convert.hpp>

Inheritance diagram for templa::convert::convert_to_variant< Ts >:

Detailed Description

template<typename... Ts>
struct templa::convert::convert_to_variant< Ts >

Converts a pack of types into a std::variant of those types.

Template Parameters
TsParameter pack of types to convert.

Usage:

using V = convert_to_variant<int, float, double>::type; // std::variant<int, float, double>
Converts a pack of types into a std::variant of those types.
Definition convert.hpp:27

The documentation for this struct was generated from the following file: