![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Classes | |
| struct | recursive_variant |
| Recursive variant implementation. More... | |
Typedefs | |
| template<class... Ts> | |
| using | recursive_variant_add_containers = std::variant< Ts..., std::vector< recursive_variant< Ts... > >, std::unordered_map< int, recursive_variant< Ts... > >, std::unordered_map< std::string, recursive_variant< Ts... > > > |
| Helper class to inject STL containers in a recursive variant typelist. | |
| using ScriptInterface::impl::recursive_variant_add_containers = typedef std::variant<Ts..., std::vector<recursive_variant<Ts...> >, std::unordered_map<int, recursive_variant<Ts...> >, std::unordered_map<std::string, recursive_variant<Ts...> >> |
Helper class to inject STL containers in a recursive variant typelist.
CRTP helper class that defines a base class for recursive_variant, such that the using BaseClass = detail::recursive_variant_base<Ts...> syntax can be used in the derived class instead of writing the entire typelist again. These STL containers are used to introduce recursion.
Definition at line 60 of file Variant.hpp.