Scippy

SoPlex

Sequential object-oriented simPlex

truncating_iterator< OutputIt, std::true_type > Class Template Reference

#include <format.h>

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 = truncating_iterator_base
 

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

using value_type = typename OutputIt::container_type::value_type

Definition at line 432 of file format.h.

Constructor & Destructor Documentation

◆ truncating_iterator()

truncating_iterator ( OutputIt  out,
std::size_t  limit 
)

Definition at line 434 of file format.h.

Member Function Documentation

◆ operator*()

truncating_iterator& operator* ( )

Definition at line 444 of file format.h.

◆ operator++() [1/2]

truncating_iterator& operator++ ( )

Definition at line 442 of file format.h.

◆ operator++() [2/2]

truncating_iterator& operator++ ( int  )

Definition at line 443 of file format.h.

◆ operator=()

truncating_iterator& operator= ( value_type  val)

Definition at line 437 of file format.h.