type-erasure topic

List type-erasure repositories

te

419
Stars
33
Forks
Watchers

C++17 Run-time polymorphism (type erasure) library

dyno

963
Stars
42
Forks
Watchers

Runtime polymorphism done right

function2

535
Stars
45
Forks
Watchers

Improved and configurable drop-in replacement to std::function that supports move only types, multiple overloads and more

Poly

18
Stars
5
Forks
Watchers

A light-weight general-purpose library to help represent situations where the type of a value is one of a set of types. An alternative to type erasure.

eraserface

31
Stars
2
Forks
Watchers

dynamic polymorphism without inheritance

args

15
Stars
6
Forks
Watchers

Header only library for binding, reordering and currying of function arguments without cost

nontype_functional

48
Stars
5
Forks
Watchers

Complete implementation of std::function, std::function_ref, and std::move_only_function

cpp_traits

15
Stars
1
Forks
Watchers

rust-like traits (type erasure) on plain C++

small_unique_ptr

18
Stars
1
Forks
Watchers

A unique_ptr implementation with small object optimization