Pothos  0.7.0-gf7fbae99
The Pothos dataflow programming software suite
Classes | Typedefs
Implementation for unwrap_refwrapper and special_decay_t

Classes

struct  Pothos::Util::unwrap_refwrapper< T >
 
struct  Pothos::Util::unwrap_refwrapper< std::reference_wrapper< T > >
 

Typedefs

template<typename T >
using Pothos::Util::special_decay_t = typename unwrap_refwrapper< typename std::decay< T >::type >::type
 

Detailed Description


special_decay_t = decay + unwrapping a reference wrapper

See also
http://en.cppreference.com/w/cpp/utility/tuple/make_tuple

Typedef Documentation

◆ special_decay_t

template<typename T >
using Pothos::Util::special_decay_t = typedef typename unwrap_refwrapper<typename std::decay<T>::type>::type

Strip const and reference from a type, and remove optional reference wrapper.

Template Parameters
Tthe input type to the template