Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::Bitset64< IndexType >::ConstView Class Reference

When speed matter, caching the base pointer helps. More...

#include <bitset.h>

Public Member Functions

 ConstView (const Bitset64 *bitset)
 
bool operator[] (IndexType i) const
 
const uint64_t * data () const
 

Detailed Description

template<typename IndexType = int64_t>
class operations_research::Bitset64< IndexType >::ConstView

When speed matter, caching the base pointer helps.

Definition at line 421 of file bitset.h.

Constructor & Destructor Documentation

◆ ConstView()

template<typename IndexType = int64_t>
operations_research::Bitset64< IndexType >::ConstView::ConstView ( const Bitset64 * bitset)
inlineexplicit

Definition at line 423 of file bitset.h.

Member Function Documentation

◆ data()

template<typename IndexType = int64_t>
const uint64_t * operations_research::Bitset64< IndexType >::ConstView::data ( ) const
inline

Definition at line 429 of file bitset.h.

◆ operator[]()

template<typename IndexType = int64_t>
bool operations_research::Bitset64< IndexType >::ConstView::operator[] ( IndexType i) const
inline

Definition at line 425 of file bitset.h.


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