uTL
micro Template library
utl::idx_dev_details Namespace Reference

Classes

struct  is_idx_dev_
 Primary template to catch any non input device types. More...
 
struct  is_idx_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())
 

Detailed Description

indexed device concept

Typedef Documentation

◆ try_begin_t

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

Definition at line 486 of file idx_dev.h.

◆ try_cbegin_t

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

Definition at line 488 of file idx_dev.h.

◆ try_cend_t

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

Definition at line 491 of file idx_dev.h.

◆ try_end_t

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

Definition at line 489 of file idx_dev.h.

◆ try_get1_t

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

Definition at line 481 of file idx_dev.h.

◆ try_get2_t

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

Definition at line 482 of file idx_dev.h.

◆ tryc_begin_t

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

Definition at line 487 of file idx_dev.h.

◆ tryc_end_t

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

Definition at line 490 of file idx_dev.h.