CGAL 6.1 - STL Extensions for CGAL

Loading...
Searching...
No Matches
List of all members | Public Types
CGAL::value_type_traits< T > Struct Template Reference
Reference Manual

`#include <CGAL/value_type_traits.h>`

## Definition

template<class T>
struct CGAL::value_type_traits< T >

Class providing the value type of an iterator, and in the case of an output iterator, a type of objects that can be put in it.

## Public Types
typedef unspecified_type | type
| If `T` is `std::insert_iterator<Container>`, `std::back_insert_iterator<Container>` or `std::front_insert_iterator<Container>`, then `type` is `Container::value_type`.

## Member Typedef Documentation

## ◆ type

template<class T >

typedef unspecified_type CGAL::value_type_traits< T >::type

If `T` is `std::insert_iterator<Container>`, `std::back_insert_iterator<Container>` or `std::front_insert_iterator<Container>`, then `type` is `Container::value_type`.

Otherwise, `type` is `std::iterator_traits<T>::value_type`.