yat  0.21pre
Public Types | Public Member Functions | List of all members
theplu::yat::utility::TrivialIterator< T > Class Template Reference

Concept check for Trivial Iterator. More...

#include <yat/utility/concept_check.h>

Inheritance diagram for theplu::yat::utility::TrivialIterator< T >:

Public Types

typedef std::iterator_traits< T >::iterator_category iterator_category
 iterator_category
 
typedef std::iterator_traits< T >::value_type value_type
 value_type
 
typedef std::iterator_traits< T >::difference_type difference_type
 difference_type
 
typedef std::iterator_traits< T >::pointer pointer
 pointer
 
typedef std::iterator_traits< T >::reference reference
 reference
 

Public Member Functions

 BOOST_CONCEPT_USAGE (TrivialIterator)
 function doing the concept test
 

Detailed Description

template<class T>
class theplu::yat::utility::TrivialIterator< T >

Concept check for Trivial Iterator.

This class is intended to be used in a BOOST_CONCEPT_ASSERT

template<class Iterator>
void some_function(const Iterator& it)
{
BOOST_CONCEPT_ASSERT((TrivialIterator<Iterator>));
...
}
Since
New in yat 0.7

The documentation for this class was generated from the following file:

Generated on Wed Jan 25 2023 03:34:30 for yat by  doxygen 1.8.14