SoPlex Documentation
Loading...
Searching...
No Matches
truncating_iterator< OutputIt, std::true_type > Class Template Reference

#include <format.h>

Inheritance diagram for truncating_iterator< OutputIt, std::true_type >:
truncating_iterator_base< OutputIt >

Public Types

using value_type = typename OutputIt::container_type::value_type
 
- Public Types inherited from truncating_iterator_base< OutputIt >
using iterator_category = std::output_iterator_tag
 
using difference_type = void
 
using pointer = void
 
using reference = void
 
using _Unchecked_type
 

Public Member Functions

 truncating_iterator (OutputIt out, std::size_t limit)
 
truncating_iteratoroperator= (value_type val)
 
truncating_iteratoroperator++ ()
 
truncating_iteratoroperator++ (int)
 
truncating_iteratoroperator* ()
 
- Public Member Functions inherited from truncating_iterator_base< OutputIt >
OutputIt base () const
 
std::size_t count () const
 

Additional Inherited Members

- Protected Member Functions inherited from truncating_iterator_base< OutputIt >
 truncating_iterator_base (OutputIt out, std::size_t limit)
 
- Protected Attributes inherited from truncating_iterator_base< OutputIt >
OutputIt out_
 
std::size_t limit_
 
std::size_t count_
 

Detailed Description

template<typename OutputIt>
class internal::truncating_iterator< OutputIt, std::true_type >

Definition at line 429 of file format.h.

Member Typedef Documentation

◆ value_type

template<typename OutputIt >
using value_type = typename OutputIt::container_type::value_type

Definition at line 432 of file format.h.

Constructor & Destructor Documentation

◆ truncating_iterator()

template<typename OutputIt >
truncating_iterator ( OutputIt out,
std::size_t limit )

Definition at line 434 of file format.h.

Member Function Documentation

◆ operator*()

template<typename OutputIt >
truncating_iterator & operator* ( )

Definition at line 444 of file format.h.

◆ operator++() [1/2]

template<typename OutputIt >
truncating_iterator & operator++ ( )

Definition at line 442 of file format.h.

◆ operator++() [2/2]

template<typename OutputIt >
truncating_iterator & operator++ ( int )

Definition at line 443 of file format.h.

◆ operator=()

template<typename OutputIt >
truncating_iterator & operator= ( value_type val)

Definition at line 437 of file format.h.