Template Struct variant_of

Struct Documentation

template<template<typename> class Wrap, typename List>
struct variant_of

Builds std::variant<Wrap<Ts>…> from type_list<Ts…>.