#include "classlib/utils/BitOps.h"
#include <iterator>
Go to the source code of this file.
Namespaces | |
namespace | lat |
Functions | |
template<class T, unsigned int BITS> | |
class BitIterator | lat::ITERATOR_BASE (input_iterator, unsigned int, STDC::ptrdiff_t) |
A bit-extracting random access iterator over a set of data. | |
template<class T, unsigned int BITS> | |
BitIterator< T, BITS > | lat::operator+ (typename BitIterator< T, BITS >::difference_type n, const BitIterator< T, BITS > &x) |
Return a bit iterator n times BITS forwards from x (n can be positive or negative but must fall within a valid range). | |
template<class T, unsigned int BITS> | |
BitIterator< T, BITS > | lat::operator+ (const BitIterator< T, BITS > &x, typename BitIterator< T, BITS >::difference_type n) |
Return a bit iterator n times BITS forwards from x (n can be positive or negative but must fall within a valid range). | |
template<class T, unsigned int BITS> | |
BitIterator< T, BITS > | lat::operator- (const BitIterator< T, BITS > &x, typename BitIterator< T, BITS >::difference_type n) |
Return a bit iterator n times BITS backwards from x (n can be positive or negative but must fall within a valid range). |