uTL
micro Template library
utl::out_dev_details Namespace Reference

Classes

struct  is_out_dev_
 Primary template to catch any non output device types. More...
 
struct  is_out_dev_< _Tp, void_t< typename _Tp::data_type, typename _Tp::pointer_type, typename _Tp::iterator, typename _Tp::const_iterator, use_if_same_t< try_put1_t< _Tp >, size_t >, use_if_same_t< try_put2_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 output device type More...
 

Typedefs

template<class _Tp >
using try_put1_t = decltype(declval< _Tp >().put(declval< const typename _Tp::data_type & >()))
 
template<class _Tp >
using try_put2_t = decltype(declval< _Tp >().put(declval< const 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

Output device concept

Typedef Documentation

◆ try_begin_t

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

Definition at line 320 of file out_dev.h.

◆ try_cbegin_t

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

Definition at line 322 of file out_dev.h.

◆ try_cend_t

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

Definition at line 325 of file out_dev.h.

◆ try_end_t

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

Definition at line 323 of file out_dev.h.

◆ try_put1_t

template<class _Tp >
using utl::out_dev_details::try_put1_t = typedef decltype (declval<_Tp>().put (declval<const typename _Tp::data_type&>()))

Definition at line 314 of file out_dev.h.

◆ try_put2_t

template<class _Tp >
using utl::out_dev_details::try_put2_t = typedef decltype (declval<_Tp>().put (declval<const typename _Tp::data_type*>(), declval<size_t>()))

Definition at line 316 of file out_dev.h.

◆ tryc_begin_t

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

Definition at line 321 of file out_dev.h.

◆ tryc_end_t

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

Definition at line 324 of file out_dev.h.