p-groarke / clamp_cast
A saturating arithmetic cast.
☆12Updated 6 years ago
Alternatives and similar repositories for clamp_cast:
Users that are interested in clamp_cast are comparing it to the libraries listed below
- `mp::inplace_string<CharT, MaxSize, Traits>` is a `std::string`-like class template that stores text content in-place inside the class☆10Updated 6 years ago
- A view that allows iteration over a view, returning the index of each item along with each item☆12Updated 4 years ago
- Class template designed to express optionality without having to sacrifice memory to store additional bool flag☆12Updated last year
- C++ Testing using spies and fakes for isolation and simulation☆10Updated 5 years ago
- std::ring_span (SG14, P0059R1)☆46Updated 8 years ago
- Experimental library for coroutines and networking☆16Updated 7 years ago
- Make std::mdspan formattable by std::format.☆10Updated last year
- C++17 sports two low-level character conversion functions, std::from_chars and std::to_chars, but they have a usage model that can be ea…☆8Updated 5 years ago
- Single Header Constexpr Circular Queue☆18Updated 4 years ago
- Various header libraries mostly future std lib, replacements for(e.g. visit), or some misc☆23Updated this week
- Repository for a C++11 implementation of std::out_ptr (p1132), as a standalone library!☆74Updated last year
- type - Strong types for C++98, C++11 and later in a single-file header-only library☆36Updated 9 months ago
- Simple Reference Implementations of all the features added in C++11/14/17☆21Updated 7 years ago
- Safe integer utilities for C++11☆16Updated 10 years ago
- A C++ library that simplifies working with tuples, variants, and more through argument list generation and the ability to convert from ru…☆61Updated 4 years ago
- Forward declarations for C++ standard library☆22Updated 3 years ago
- A comparison of different options to implement binary flags in C++17☆17Updated 7 years ago
- Pre-conditions, post-conditions, and assertions, all available at compile-time☆24Updated 3 years ago
- Slides for my 2019 presentation at C++ on Sea☆13Updated 3 years ago
- byte lite - A C++17-like byte type for C++98, C++11 and later in a single-file header-only library☆53Updated 9 months ago
- devector and batch_deque containers for C++. See more at: http://erenon.hu/double_ended☆15Updated 7 years ago
- Helpers for preventing the static initialization order fiasco of global variables.☆43Updated 4 years ago
- Playground for Cloud CI development for C++☆24Updated 4 years ago
- A library of type safe sets over fixed size collections of types or values, including methods for accessing, modifying, visiting and iter…☆21Updated 3 years ago
- Library for complex bitfields☆19Updated 9 months ago
- A C++17 metaprogramming library. Strings, Parsing, Typelists, Aggregate to Tuple conversions and Constant integral literals☆51Updated 6 years ago
- Compile-time printf-like string formatting☆77Updated 6 years ago
- Modern C++ framework for critical systems☆21Updated last year
- Because somebody has to catch the hot potato!☆18Updated 8 years ago
- A never-valueless, strong guarantee implementation of std::variant☆67Updated last month