Skip to content

Library Organization

John Freeman edited this page Nov 21, 2023 · 2 revisions
  • include\

    • autocheck\

      Main components:

      Utility:

      • value.hpp : A generic value wrapper. The wrapped type does not need a default constructor, but value can hold one without allocating on the heap.

      Metaprogramming utilities:

      • is_one_of.hpp : Returns std::true_type if a type is found in a list of types. Used with std::enable_if.
      • largest.hpp : Returns the largest type (determined by sizeof) in a list of types. Used to implement autocheck::value.
      • apply.hpp : Calls a function with arguments pulled from a std::tuple.
      • predicate.hpp : Type function returning a std::function for a function taking some list of arguments and returning bool.

      Standard library extension:

      • sequence.hpp : Output stream operator for std::vector.
      • tuple.hpp : Output stream operator for std::tuple.
Clone this wiki locally