Pixie
Loading...
Searching...
No Matches
permutable_sequence.h File Reference

Lightweight immutable-read permutable-sequence CRTP contract. More...

#include <pixie/sequence_options.h>
#include <concepts>
#include <cstddef>
#include <ranges>
#include <utility>

Go to the source code of this file.

Classes

class  pixie::PermutableSequenceBase< Impl, T, ConstReference >
 CRTP contract for exclusively owned sequences with immutable reads. More...
 

Enumerations

enum class  pixie::ElementStorage { automatic , packed , indirect }
 Compile-time element storage selection. More...
 

Detailed Description

Lightweight immutable-read permutable-sequence CRTP contract.

Include pixie/permutations/sequence.h for the owning implementation.

Enumeration Type Documentation

◆ ElementStorage

enum class pixie::ElementStorage
strong

Compile-time element storage selection.

Automatic packs bool and unsigned integers of at most 64 value bits; all other supported types use stable indirect ownership. Indirect may be requested explicitly for otherwise packable types.