OpenTTD Source: SetBitIterator< Tbitpos, Tbitset >::Iterator Struct Reference

OpenTTD Source 12.2

Public Types | Public Member Functions | Private Member Functions | Private Attributes
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
Iterator & | operator++ ()

## 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 330 of file bitmath_func.hpp.

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

- src/core/bitmath_func.hpp