• Stars
    star
    127
  • Rank 281,732 (Top 6 %)
  • Language
    C++
  • License
    MIT License
  • Created over 3 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

C++20 Dynamic Reflection Library

meta.hpp

C++20 Dynamic Reflection Library

linux darwin windows language license

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 PUBLIC meta.hpp::meta.hpp)

Or just use the single-header version of the library, which you can find here.

Manuals

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)