argument.h
Go to the documentation of this file.
60 using arg_value_t = detail::enable_if_t<!std::is_rvalue_reference<T>::value && !is_variant<T>::value, T>;
63 using arg_rvalue_t = detail::enable_if_t<std::is_rvalue_reference<T>::value && !is_variant<T>::value, detail::remove_reference_t<T> >;
72 using is_variant_t = detail::enable_if_t<is_variant<T>::value && !std::is_rvalue_reference<T>::value, T>;
75 using is_variant_ref_t = detail::enable_if_t<is_variant<T>::value && std::is_rvalue_reference<T>::value, detail::remove_reference_t<T>>;
105 template<typename T>
106 RTTR_INLINE arg_value_t<T>& get_value() const RTTR_NOEXCEPT;
107 template<typename T>
108 RTTR_INLINE arg_rvalue_t<T> && get_value() const RTTR_NOEXCEPT;
111 RTTR_INLINE is_variant_t<T>& get_value() const RTTR_NOEXCEPT;
113 RTTR_INLINE is_variant_ref_t<T> && get_value() const RTTR_NOEXCEPT;
120 };
Definition: access_levels.h:34
detail::enum_data< Enum_Type > value(string_view, Enum_Type value)
The value function should be used to add a mapping from enum name to value during the registration pr...
The variant class allows to store data of any type and convert between these types transparently.
Definition: variant.h:223
The argument class is used for forwarding arguments to properties or methods.
Definition: argument.h:77
Generated on Sun Apr 12 2020 23:39:54 for rttr - 0.9.6 by doxygen.