- * @brief Retrieves an enumeration value.
- *
- * @SINCE_1_0.0
- * @param[out] boolValue On return, an enumeration value
- * @return @c true if the value is successfully retrieved, @c false if the type is different
- * @pre GetType() is a type convertible to bool.
- */
- template <typename T, typename std::enable_if<std::is_enum<typename std::remove_reference<typename std::remove_cv<T>::type>::type>::value>::type* = nullptr>
- bool Get(T &t) const
- {
- int temp = 0;
- if (!Get(temp)) return false;
- t = static_cast<T>(temp);
- return true;
- }
- /**