That Terminal
A terminal emulator designed for video making purposes.
compressed_bitset< N, maxdim, maxdim2 > Class Template Reference

Public Member Functions

constexpr void init (reftype &&b)
 
bool test (std::size_t idx) const
 

Detailed Description

template<std::size_t N, std::size_t maxdim = 252, std::size_t maxdim2 = 84>
class compressed_bitset< N, maxdim, maxdim2 >

A compile-time initialized bitset structure that stores the data as compactly as possible.

Member Function Documentation

◆ init()

template<std::size_t N, std::size_t maxdim = 252, std::size_t maxdim2 = 84>
constexpr void compressed_bitset< N, maxdim, maxdim2 >::init ( reftype &&  b)
inlineconstexpr

Initializes the compressed set using a constexpr_bitset.

Parameters
bAn instance of constexpr_bitset to initialized using.

◆ test()

template<std::size_t N, std::size_t maxdim, std::size_t maxdim2>
bool compressed_bitset< N, maxdim, maxdim2 >::test ( std::size_t  idx) const

Tests whether the given index is set.

Parameters
idxIndex to set
Returns
True if the given index is set.

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