25 open-source projects similar to m-peko/bitflags, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best Bitflags alternative.
match(it): A lightweight single-header pattern-matching library for C++17 with macro-free APIs.
Use - Moving types in and out of a typelist - Modifying a typelist - anyof, allof, noneof - findif - filter - contains - sort - transform, transformwith, transformv - set - at - slice - size - Example - Generate a variant, with no duplicate types, that holds any value from a tuple - API Samples
This is a C++ ranges library and extension to the Standard Template Library that provides a collection of composable algorithms and lazy views for processing data sequences. It functions as a lazy sequence processing framework and a template meta-programming library for manipulating type lists and performing compile-time type computations. The project enables functional programming patterns in C++ through the use of pipe syntax and partial application to create readable, left-to-right data transformation chains. It allows for the construction of lazy data pipelines that filter and transform e
A header-only, unobtrusive, almighty alternative to the C++ switch statement that looks just like the original.
ISO C++ Core Guidelines Library implementation for C++98, C++11 up
Easy to use, modular, header only, macro based, generic and type-safe Data Structures in C
expected lite - C++23 expected objects for C++11 and later in a single-file header-only library
optional lite - A C++17-like optional, a nullable object for C++98, C++11 and later in a single-file header-only library
span lite - A C++20-like span for C++98, C++11 and later in a single-file header-only library
stringview lite - A C++17-like stringview for C++98, C++11 and later in a single-file header-only library
variant lite - A C++17-like variant, a type-safe union for C++98, C++11 and later in a single-file header-only library.
GSL is a Guidelines Support Library for C++ that provides a set of types and functions designed to implement the C++ Core Guidelines. It functions as a framework for improving code safety and portability across different platforms. The library provides a contract-based programming model to verify program invariants through precondition and postcondition assertions. It includes specialized wrappers for null-pointer safety and bounds-checked memory views to prevent buffer overflows and invalid memory access. The project also covers safe integer conversion to prevent data truncation and provide
wil is a C++ wrapper library for the Windows API designed to simplify system development through RAII and exception handling. It provides a set of resource management tools, a framework for Windows error handling, and type-safe interfaces for registry access and networking. The library distinguishes itself by automating the conversion between system error codes and C++ exceptions, while providing utilities for contextual error message attachment and early return patterns. It also features specialized networking wrappers for socket initialization and hostname resolution, and a registry interfa
This project is a collection of portable, header-only C functions designed for integration into software projects without complex build dependencies or external linking requirements. It provides a suite of low-level utilities for graphics, audio, and data management, focusing on direct memory manipulation and zero-dependency portability. By utilizing a single-header distribution model, the library simplifies dependency management while allowing developers to maintain full control over memory allocation and binary size through compile-time configuration. The library distinguishes itself by off
C++11/14/17 std::optional with functional-style extensions and reference support
qLibc is a simple and yet powerful C library providing generic data structures and algorithms.