MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
bitset.hpp File Reference
#include <limits>
#include "optional.hpp"
#include "result.hpp"
#include "slice.hpp"
Include dependency graph for bitset.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mtcore::Bitset
 Represents a bitset with dynamically allocated memory (using an mtcore allocator) Allows operating on an arbitrary number of bits. More...
 
struct  mtcore::Bitset::BitsetAccess
 Helper for accessing a bitset position (including for setting bits) More...
 
struct  mtcore::Bitset::SetBitIter
 Simple bit set iterator that uses next() iteration to return the indices of all set bits. More...
 
struct  mtcore::Bitset2D
 Represents a bitset with dynamically allocated memory (using an mtcore allocator) Allows operating on an arbitrary number of bits. More...
 
struct  mtcore::Bitset2D::BitsetAccess
 Helper for accessing a bitset position (including for setting bits) More...
 
struct  mtcore::Bitset2D::SetBitIter
 Simple bit set iterator that uses next() iteration to return the indices of all set bits. More...
 
struct  mtcore::BitsetFixed< NumBits >
 Represents a bitset with dynamically allocated memory (using an mtcore allocator) Allows operating on an arbitrary number of bits. More...
 
struct  mtcore::BitsetFixed< NumBits >::BitsetAccess
 Helper for accessing a bitset position (including for setting bits) More...
 
struct  mtcore::BitsetFixed< NumBits >::SetBitIter
 Simple bit set iterator that uses next() iteration to return the indices of all set bits. More...
 

Namespaces

namespace  mtcore
 Core library for C++ with Zig-related functionality.
 

Macros

#define MTCORE_BITSET_HPP
 

Enumerations

enum class  mtcore::BitStrInitError { mtcore::BitStrInitError::ALLOCATION_FAILED = static_cast<int>(AllocationError::ALLOCATION_FAILED) , mtcore::BitStrInitError::INVALID_BINARY_STRING }
 Bitset String-based Initialization Errors. More...
 

Macro Definition Documentation

◆ MTCORE_BITSET_HPP

#define MTCORE_BITSET_HPP

Definition at line 22 of file bitset.hpp.