A bunch of small C++ utilities
CC0-1.0 License
A bunch of small C++ utilities
The documentation is available at tl.tartanllama.xyz.
overload
: a rudimentary implementation of std::overload
integer_sequence
: C++11 version of std::integer_sequence
and friends, plus tl::make_index_range
type_traits
: implementations of some type traits from C++17 and Lib Fundamentals v2 TS
std::bool_constant
std::conjunction
std::disjunction
std::negation
std::void_t
std::is_detected
index_constant
variadic_size
type_trait_t
aliases for C++11 type traitstypelist
: utilities for type lists
typelist
index_typelist
cat_typelist
vallist
(C++17)index_vallist
(C++17)cat_vallist
(C++17)dependent_false
: enables static_assert(dependent_false<T>::value)
in templatesmake_array
: simple implementation of std::make_array
numeric_aliases
: Rust-style numeric aliases, e.g. tl::i8
, tl::u64
apply
: Implementation of std::apply
decay_copy
: Implementation of decay_copy
casts
: some handy casts
bit_cast
for memcpy
ing value representationsunderlying_cast
for casting enums to their underlying typeTo the extent possible under law, Simon Brand has waived all copyright and related or neighboring rights to the tl library. This work is published from: United Kingdom.