get_value_type< T > Struct Template Reference

Utility metafunction for accessing an underlying value type. More...

#include <atria/meta/value_type.hpp>

Detailed Description

template<typename T>
struct atria::meta::get_value_type< T >

Utility metafunction for accessing an underlying value type.

This metafunction tries, in this order:

  • Nested type: T::value_type
  • Iterator traits: std::iterator_traits<T>::value_type
  • Decayed dereference: std::decay_t<decltype(*std::declval<T>())>
  • Decayed getter: std::decay_t<decltype(std::declval<T>().get())>

The concrete semantics of this underlying value type might be context dependent. It can be partially spetialized for different types.

Definition at line 64 of file value_type.hpp.


The documentation for this struct was generated from the following file:
Fork me on GitHub