OpenTTD Source  20241108-master-g80f628063a
SetBitIterator< Tbitpos, Tbitset >::Iterator Struct Reference

Public Types

typedef Tbitpos value_type
 
typedef value_type * pointer
 
typedef value_type & reference
 
typedef size_t difference_type
 
typedef std::forward_iterator_tag iterator_category
 

Public Member Functions

 Iterator (Tbitset bitset)
 
bool operator== (const Iterator &other) const
 
bool operator!= (const Iterator &other) const
 
Tbitpos operator* () const
 
Iteratoroperator++ ()
 

Private Member Functions

void Validate ()
 
void Next ()
 

Private Attributes

Tbitset bitset
 
Tbitpos bitpos
 

Detailed Description

template<typename Tbitpos = uint, typename Tbitset = uint>
struct SetBitIterator< Tbitpos, Tbitset >::Iterator

Definition at line 302 of file bitmath_func.hpp.


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