p-groarke / clamp_castLinks
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
Sorting:
- Repository for a C++11 implementation of std::out_ptr (p1132), as a standalone library!☆75Updated 7 months ago
- Helpers for preventing the static initialization order fiasco of global variables.☆46Updated 5 years ago
- A single-file header-only library that lets you easily combine lambdas for C++11 and later☆19Updated 5 years ago
- observer-ptr - An observer_ptr for C++98 and later in a single-file header-only library (Extensions for Library Fundamentals, v2, v3)☆38Updated last month
- Class template designed to express optionality without having to sacrifice memory to store additional bool flag☆14Updated 2 years ago
- A never-valueless, strong guarantee implementation of std::variant☆71Updated 3 weeks ago
- type - Strong types for C++98, C++11 and later in a single-file header-only library☆38Updated last month
- byte lite - A C++17-like byte type for C++98, C++11 and later in a single-file header-only library☆59Updated last month
- Make std::mdspan formattable by std::format.☆11Updated last year
- A view that allows iteration over a view, returning the index of each item along with each item☆13Updated 5 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 4 years ago
- Compile-time printf-like string formatting☆77Updated 7 years ago
- value-ptr-lite - A C++ smart-pointer with value semantics for C++98, C++11 and later in a single-file header-only library☆50Updated last month
- A C++ library that simplifies working with tuples, variants, and more through argument list generation and the ability to convert from ru…☆62Updated 5 years ago
- Proposed SG14 status_code for the C++ standard☆69Updated last week
- `mp::inplace_string<CharT, MaxSize, Traits>` is a `std::string`-like class template that stores text content in-place inside the class☆11Updated 7 years ago
- A C++20 implementation of safe (wrap around) integers following MISRA C++ rules☆80Updated last week
- Library for complex bitfields☆19Updated last year
- bit-lite - C++20 bit operations for C++98 and later in a single-file header-only library.☆44Updated 3 weeks ago
- Single Header Constexpr Circular Queue☆18Updated 5 years ago
- A C++ ringbuffer that always looks like a flat array☆83Updated 5 years ago
- A compiler-friendly variadic type list for C++.☆38Updated 2 years ago
- Header-only library for automatic (de)serialization of C++ types to/from JSON.☆54Updated 5 years ago
- Non-intrusive C++ signal programming library☆50Updated 3 years ago
- Header-only llvm::Expected<T>☆38Updated 6 years ago
- Simple Reference Implementations of all the features added in C++11/14/17☆21Updated 8 years ago
- Peter Sommerlad's Simple Strong Typing☆34Updated 2 years ago
- optional bare - A simple version of a C++17-like optional for default-constructible, copyable types, for C++98 and later in a single-fil…☆21Updated last month
- Compiler/BuildSystem Interface Library☆28Updated 3 years ago
- A bunch of small C++ utilities☆69Updated last year