SoPlex Documentation
Loading...
Searching...
No Matches
is_output_iterator< It > Class Template Reference

#include <format.h>

Static Public Attributes

static const bool value = !std::is_const<remove_reference_t<type>>::value
 

Private Types

using type = decltype(test<It>(typename iterator_category<It>::type{}))
 

Static Private Member Functions

template<typename U >
static decltype(*(std::declval< U >())) test (std::input_iterator_tag)
 
template<typename U >
static char & test (std::output_iterator_tag)
 
template<typename U >
static const char & test (...)
 

Detailed Description

template<typename It>
class internal::is_output_iterator< It >

Definition at line 285 of file format.h.

Member Typedef Documentation

◆ type

template<typename It >
using type = decltype(test<It>(typename iterator_category<It>::type{}))
private

Definition at line 296 of file format.h.

Member Function Documentation

◆ test() [1/3]

template<typename It >
template<typename U >
static const char & test ( ...)
staticprivate

◆ test() [2/3]

template<typename It >
template<typename U >
static decltype(*(std::declval< U >())) test ( std::input_iterator_tag )
staticprivate

◆ test() [3/3]

template<typename It >
template<typename U >
static char & test ( std::output_iterator_tag )
staticprivate

Member Data Documentation

◆ value

template<typename It >
const bool value = !std::is_const<remove_reference_t<type>>::value
static

Definition at line 299 of file format.h.