Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 2.02 KB

README.md

File metadata and controls

46 lines (32 loc) · 2.02 KB

Meta

tests

Phisko's metaprogramming utilities.

Classes

  • type: object representation of a type
  • table: map any number of keys of any number of types to any number of values of any number of types. All with compile-time type safety.

Function-only headers

  • for_each: call a function for each element in a tuple, or instantiate a template type and call a static function for each type in a list
  • fwd: macro which calls std::forward for the correct type
  • has_type: type_trait indicating whether a tuple contains a certain type
  • members: type_traits and functions for inspecting type members
  • nameof: macro to mimick other languages' nameof
  • new_from_tuple: a make_from_tuple that creates a heap-based object

Type traits

Concepts

Function traits

Member function traits