Rosetta
Public Types | Public Member Functions | Private Attributes | List of all members
detail::truncating_iterator< OutputIt, std::false_type > Class Template Reference

#include <format.h>

Inheritance diagram for detail::truncating_iterator< OutputIt, std::false_type >:
Inheritance graph
[legend]

Public Types

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

Public Member Functions

 truncating_iterator (OutputIt out, size_t limit)
 
truncating_iteratoroperator++ ()
 
truncating_iterator operator++ (int)
 
value_typeoperator* () const
 
- Public Member Functions inherited from detail::truncating_iterator_base< OutputIt >
OutputIt base () const
 
size_t count () const
 

Private Attributes

truncating_iterator_base< OutputIt >::value_type blackhole_
 

Additional Inherited Members

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

Member Typedef Documentation

◆ value_type

template<typename OutputIt >
using detail::truncating_iterator< OutputIt, std::false_type >::value_type = typename truncating_iterator_base<OutputIt>::value_type

Constructor & Destructor Documentation

◆ truncating_iterator()

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

Member Function Documentation

◆ operator*()

template<typename OutputIt >
value_type& detail::truncating_iterator< OutputIt, std::false_type >::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename OutputIt >
truncating_iterator& detail::truncating_iterator< OutputIt, std::false_type >::operator++ ( )
inline

◆ operator++() [2/2]

template<typename OutputIt >
truncating_iterator detail::truncating_iterator< OutputIt, std::false_type >::operator++ ( int  )
inline

Member Data Documentation

◆ blackhole_

template<typename OutputIt >
truncating_iterator_base<OutputIt>::value_type detail::truncating_iterator< OutputIt, std::false_type >::blackhole_
mutableprivate

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