Skip to content

phisko/meta

Repository files navigation

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

About

Metaprogramming helpers for C++.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published