libDwm-0.9.45
DwmVariantFromIndex.hh File Reference

Dwm::VariantFromIndex function template. More...

#include <array>
#include <cassert>
#include <variant>
Include dependency graph for DwmVariantFromIndex.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename... Ts>
std::variant< Ts... > Dwm::VariantFromIndex (size_t index)
 Returns a variant type V whose contents are set to a default constructed value of the type at index in the variant.
 

Detailed Description

Dwm::VariantFromIndex function template.

Author
Daniel W. McRobb