SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
detail::truncating_iterator_base< OutputIt > Class Template Reference
Inheritance diagram for detail::truncating_iterator_base< OutputIt >:
detail::truncating_iterator< OutputIt, std::false_type > detail::truncating_iterator< OutputIt, std::true_type >

Public Types

using iterator_category = std::output_iterator_tag
 
using value_type = typename std::iterator_traits< OutputIt >::value_type
 
using difference_type = std::ptrdiff_t
 
using pointer = void
 
using reference = void
 
using _Unchecked_type = truncating_iterator_base
 

Public Member Functions

OutputIt base () const
 
size_t count () const
 

Protected Member Functions

 truncating_iterator_base (OutputIt out, size_t limit)
 

Protected Attributes

OutputIt out_
 
size_t limit_
 
size_t count_ = 0