ostream_joiner< DelimT, CharT, Traits > Struct Template Referencefinal
Inheritance diagram for ostream_joiner< DelimT, CharT, Traits >:

Public Types

using char_type = CharT
 
using delimiter_type = DelimT
 
using ostream_type = ::std::basic_ostream< CharT, Traits >
 
using traits_type = Traits
 

Public Member Functions

 ostream_joiner (ostream_type &stream, delimiter_type const &delimiter)
 
 ostream_joiner (ostream_type &stream, delimiter_type &&delimiter)
 
ostream_joineroperator* () noexcept
 
ostream_joineroperator++ (int) noexcept
 
ostream_joineroperator++ () noexcept
 
template
<
class
T
>
ostream_joineroperator= (T const &item)
 

Detailed Description


template<class DelimT, class CharT = char, class Traits = ::std::char_traits<CharT>>
struct core::v2::ostream_joiner< DelimT, CharT, Traits >

Definition at line 144 of file iterator.hpp.

Member Typedef Documentation

◆ char_type

using char_type = CharT

Definition at line 154 of file iterator.hpp.

◆ delimiter_type

using delimiter_type = DelimT

Definition at line 151 of file iterator.hpp.

◆ ostream_type

using ostream_type = ::std::basic_ostream<CharT, Traits>

Definition at line 152 of file iterator.hpp.

◆ traits_type

using traits_type = Traits

Definition at line 153 of file iterator.hpp.

Constructor & Destructor Documentation

◆ ostream_joiner() [1/2]

ostream_joiner ( ostream_type stream,
delimiter_type const &  delimiter 
)
inline

Definition at line 156 of file iterator.hpp.

◆ ostream_joiner() [2/2]

ostream_joiner ( ostream_type stream,
delimiter_type &&  delimiter 
)
inline

Definition at line 161 of file iterator.hpp.

References core::v2::move().

Member Function Documentation

◆ operator*()

ostream_joiner& operator* ( )
inlinenoexcept

Definition at line 177 of file iterator.hpp.

◆ operator++() [1/2]

ostream_joiner& operator++ ( int  )
inlinenoexcept

Definition at line 175 of file iterator.hpp.

◆ operator++() [2/2]

ostream_joiner& operator++ ( )
inlinenoexcept

Definition at line 176 of file iterator.hpp.

◆ operator=()

ostream_joiner& operator= ( T const &  item)
inline

Definition at line 168 of file iterator.hpp.

Referenced by number_iterator< T >::number_iterator().


The documentation for this struct was generated from the following file:
  • /home/jenkins-mlpack/mlpack.org/_src/mlpack-git/src/mlpack/core/std_backport/iterator.hpp