variant.h File Reference
#include "rttr/detail/base/core_prerequisites.h"#include "rttr/detail/misc/misc_type_traits.h"#include "rttr/detail/variant/variant_data.h"#include "rttr/detail/misc/argument_wrapper.h"#include "rttr/detail/variant/variant_compare.h"#include <type_traits>#include <cstddef>#include <cstdint>#include <algorithm>#include "rttr/detail/variant/variant_impl.h"Go to the source code of this file.
Classes | |
| class | rttr::variant |
| The variant class allows to store data of any type and convert between these types transparently. More... | |
Namespaces | |
| namespace | rttr |
Functions | |
| template<class T> | |
| T | rttr::variant_cast (const variant &operand) |
Returns a reference to the containing value as type T. | |
| template<class T> | |
| const T * | rttr::variant_cast (const variant *operand) noexcept |
Returns a pointer to the containing value with type T. | |
| template<class T> | |
| T | rttr::variant_cast (variant &&operand) |
Move the containing value from the variant into a type T. | |
| template<class T> | |
| T | rttr::variant_cast (variant &operand) |
Returns a reference to the containing value as type T. | |
| template<class T> | |
| T * | rttr::variant_cast (variant *operand) noexcept |
Returns a pointer to the containing value with type T. | |
Generated on Mon Mar 26 2018 21:13:00 for rttr - 0.9.6 by doxygen.