mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-14 11:40:35 +07:00
c5d331ec2e5a2c000821743f395b3942ce44ccf9
meta.hpp
C++20 tiny dynamic reflection library
Requirements
Installation
meta.hpp is a header-only library. All you need to do is copy the headers files from headers directory into your project and include them:
#include "meta.hpp/meta_all.hpp"
Also, you can add the root repository directory to your cmake project:
add_subdirectory(external/meta.hpp)
target_link_libraries(your_project_target meta.hpp)
Examples
Features
- can reflect:
- arrays
- classes
- constructors
- destructors
- enums
- functions
- member
- methods
- numbers
- pointers
- references
- typedefs
- variables
- has different behaviour bind policies
- supports multiple and virtual inheritance
- allows add additional metadata to all types
- calls functions/methods with runtime variables
- doesn't contain 3rd-party dependencies
- can be used without rtti and exceptions
API
coming soon
Alternatives
License (MIT)
Description
Languages
C++
98.9%
CMake
0.8%
Python
0.3%