Skip to content

fecjanky/estd

Repository files navigation

estd Build Status

This header-only "library" contains some useful code which can be used as it was an STL extension. The name 'estd' is inspired by Bjarne Stroustrup - The C++ Programming Language book. Currently it has 2 headers:

  • functional.h
  • memory.h

functional.h

  • the interface class is a generalization of std::function. interface class can be used for type-erasure of classes that provide some well defined usage interface

memory.h

  • sso_storage_t implements the small size optimization allocation strategy, it accepts the size threshold and Allocator policy as a template parameter
  • polymorphic_obj_storage_t can be used for storing polymorphic objects applying small size optimization and is implemented through sso_storage_t

About

this code extends std

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published