Regina 7.4 Calculation Engine
|
Provides optimised bitmasks of arbitrary length. More...
#include <algorithm>
#include <iostream>
#include "regina-core.h"
#include "regina-config.h"
#include "utilities/bitmanip.h"
Classes | |
class | regina::Bitmask |
A bitmask that can store arbitrarily many true-or-false bits. More... | |
class | regina::Bitmask1< T > |
A small but extremely fast bitmask class that can store up to 8 * sizeof(T) true-or-false bits. More... | |
class | regina::Bitmask2< T, U > |
A small but extremely fast bitmask class that can store up to 8 * sizeof(T) + 8 * sizeof(U) true-or-false bits. More... | |
Namespaces | |
namespace | regina |
Contains the entire Regina calculation engine. | |
Functions | |
void | regina::swap (Bitmask &a, Bitmask &b) noexcept |
Swaps the contents of the two given bitmasks. | |
std::ostream & | regina::operator<< (std::ostream &out, const Bitmask &mask) |
Writes the given bitmask to the given output stream as a sequence of zeroes and ones. | |
template<typename T > | |
std::ostream & | regina::operator<< (std::ostream &out, const Bitmask1< T > &mask) |
Writes the given bitmask to the given output stream as a sequence of zeroes and ones. | |
template<typename T , typename U > | |
std::ostream & | regina::operator<< (std::ostream &out, const Bitmask2< T, U > &mask) |
Writes the given bitmask to the given output stream as a sequence of zeroes and ones. | |
Provides optimised bitmasks of arbitrary length.