uTL
micro Template library
utl::in_dev_details Namespace Reference

Classes

struct  is_in_dev_
 Primary template to catch any non input device types. More...
 
struct  is_in_dev_< _Tp, void_t< typename _Tp::data_type, typename _Tp::pointer_type, typename _Tp::iterator, typename _Tp::const_iterator, use_if_same_t< try_get1_t< _Tp >, size_t >, use_if_same_t< try_get2_t< _Tp >, size_t >, use_if_same_t< try_begin_t< _Tp >, typename _Tp::iterator >, use_if_same_t< tryc_begin_t< _Tp >, typename _Tp::const_iterator >, use_if_same_t< try_cbegin_t< _Tp >, typename _Tp::const_iterator >, use_if_same_t< try_end_t< _Tp >, typename _Tp::iterator >, use_if_same_t< tryc_end_t< _Tp >, typename _Tp::const_iterator >, use_if_same_t< try_cend_t< _Tp >, typename _Tp::const_iterator > > >
 template to catch a proper input device type More...
 

Typedefs

template<class _Tp >
using try_get1_t = decltype(declval< _Tp >().get(declval< typename _Tp::data_type & >()))
 
template<class _Tp >
using try_get2_t = decltype(declval< _Tp >().get(declval< typename _Tp::data_type * >(), declval< size_t >()))
 
template<class _Tp >
using try_begin_t = decltype(declval< _Tp >().begin())
 
template<class _Tp >
using tryc_begin_t = decltype(declval< const _Tp >().begin())
 
template<class _Tp >
using try_cbegin_t = decltype(declval< const _Tp >().cbegin())
 
template<class _Tp >
using try_end_t = decltype(declval< _Tp >().begin())
 
template<class _Tp >
using tryc_end_t = decltype(declval< const _Tp >().begin())
 
template<class _Tp >
using try_cend_t = decltype(declval< const _Tp >().cend())
 

Typedef Documentation

◆ try_begin_t

template<class _Tp >
using utl::in_dev_details::try_begin_t = typedef decltype (declval<_Tp>().begin())

Definition at line 298 of file in_dev.h.

◆ try_cbegin_t

template<class _Tp >
using utl::in_dev_details::try_cbegin_t = typedef decltype (declval<const _Tp>().cbegin())

Definition at line 300 of file in_dev.h.

◆ try_cend_t

template<class _Tp >
using utl::in_dev_details::try_cend_t = typedef decltype (declval<const _Tp>().cend())

Definition at line 303 of file in_dev.h.

◆ try_end_t

template<class _Tp >
using utl::in_dev_details::try_end_t = typedef decltype (declval<_Tp>().begin())

Definition at line 301 of file in_dev.h.

◆ try_get1_t

template<class _Tp >
using utl::in_dev_details::try_get1_t = typedef decltype (declval<_Tp>().get (declval<typename _Tp::data_type&>()))

Definition at line 293 of file in_dev.h.

◆ try_get2_t

template<class _Tp >
using utl::in_dev_details::try_get2_t = typedef decltype (declval<_Tp>().get (declval<typename _Tp::data_type*>(), declval<size_t>()))

Definition at line 294 of file in_dev.h.

◆ tryc_begin_t

template<class _Tp >
using utl::in_dev_details::tryc_begin_t = typedef decltype (declval<const _Tp>().begin())

Definition at line 299 of file in_dev.h.

◆ tryc_end_t

template<class _Tp >
using utl::in_dev_details::tryc_end_t = typedef decltype (declval<const _Tp>().begin())

Definition at line 302 of file in_dev.h.