Everett
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations
policy.h File Reference

Declares Everett's policy support. More...

#include <everett/registry.h>
#include <everett/backend.h>
#include <bit>
#include <cstdint>
#include <limits>
#include <optional>
#include <type_traits>

Go to the source code of this file.

Classes

struct  everett::exponential_golomb< Order >
 
struct  everett::golomb< M >
 
struct  everett::policy_detail::backspace_traits< exponential_golomb< Order > >
 
struct  everett::policy_detail::backspace_traits< golomb< M > >
 
struct  everett::storage_policy< Registry, GroupSize, BackspaceCode, CodecBlockSize, Arch >
 

Namespaces

namespace  everett
 
namespace  everett::policy_detail
 

Typedefs

template<simd::architecture Arch, class Registry = unsorted<std::optional<std::string>>, std::uint64_t GroupSize = 15, class BackspaceCode = exponential_golomb<0>, std::uint64_t CodecBlockSize = GroupSize>
using everett::backend_policy = storage_policy< Registry, GroupSize, BackspaceCode, CodecBlockSize, Arch >
 
using everett::string_registry = bin< tip< unsorted< std::optional< std::string > > >, sort_undefined >
 
using everett::string_policy = storage_policy< string_registry >
 

Enumerations

enum class  everett::stream_role : std::uint8_t { everett::native , everett::borrowed }
 
enum class  everett::bit_backspace_code : std::uint8_t { everett::exponential_golomb = 0 , everett::golomb = 1 }
 

Detailed Description

Declares Everett's policy support.

Author
Edward Kmett ekmet.nosp@m.t@gm.nosp@m.ail.c.nosp@m.om
SPDX-FileType: SOURCE
SPDX-FileCopyrightText: 2026 Edward Kmett <ekmett@gmail.com>
SPDX-License-Identifier: BSD-2-Clause OR Apache-2.0