Name Description Size
function_ref.h Non-owning function reference that can be used as a more performant replacement for std::function when ownership sematics aren't needed. See http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0792r0.html Based off of https://stackoverflow.com/a/39087660/4447365 2627
shared_ptr.h Provide a type-erased version of std::shared_ptr that has ABI stability. 5286
span.h @brief Clang 14.0.0 with libc++ do not support implicitly construct a span for a range. We just use our fallback version. 8448
string_view.h Back port of std::string_view to work with pre-cpp-17 compilers. Note: This provides a subset of the methods available on std::string_view but tries to be as compatible as possible with the std::string_view interface. 5993
type_traits.h Back port of std::add_pointer_t 3681
unique_ptr.h Provide a simplified port of std::unique_ptr that has ABI stability. Note: This implementation doesn't allow for a custom deleter. 4002
utility.h Back port of std::data See https://en.cppreference.com/w/cpp/iterator/data 3250
variant.h OPENTELEMETRY_HAVE_STD_VARIANT 2595