metapp
C++ runtime reflection library (by wqking)
miroir
C++20 compile-time reflection library. (by 99syl)
metapp | miroir | |
---|---|---|
6 | 3 | |
77 | 36 | |
- | - | |
4.7 | 3.6 | |
5 months ago | 3 months ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
metapp
Posts with mentions or reviews of metapp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-19.
-
I implement a fast, macro-based namedtuple works under C++11
https://github.com/wqking/metapp Need to register your struct to a wrapper manually.
-
JSON for Modern C++ 3.11.0
My recent working on libraries are focusing on solving the problems you have. metapp is a runtime reflection library, jsonpp is a simple JSON library basing on metapp. More important, the meta data built in metapp is reusable for different purpose, such as serialization, scripting, etc.
-
jsonpp -- easy to use and reusable C++ JSON library
Reusable technology. The core technology is from C++ reflection library metapp developed by the same developer (wqking) of jsonpp. The technology is not unique to jsonpp, it's reusable for other purposes such as runtime reflection system, serialization, script binding, etc.
-
metapp - C++ open source library for runtime reflection and variant
You may read Core concepts and mechanism for some basic concepts. If you wonder how it parses the mystery type char const *(*(* volatile * (&)[][8])())[], or even 10 times more complicated type, it's not magic, it uses recursive template specialization.
miroir
Posts with mentions or reviews of miroir.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-19.
-
I implement a fast, macro-based namedtuple works under C++11
Fwiw, there is at least one without macros or external tools. https://github.com/BaguetteFramboise/miroir Whether it's as practical as macro based libraries or not is another question, ofc.
-
miroir: another c++20 static reflection library
Repository: https://github.com/SylEze/miroir
What are some alternatives?
When comparing metapp and miroir you can also consider the following projects:
metacpp - Meta C++ Library and Tool
reflecxx - A static reflection framework for C++, using libclang.
hvpp - hvpp is a lightweight Intel x64/VT-x hypervisor written in C++ focused primarily on virtualization of already running operating system
namedtuple - Implementation of super-fast C++-styled namedtuple, for compile-time reflection.
morphologica - A library of supporting code for numerical modelling (JSON config, HDF5 data, Modern OpenGL visualization)
eventpp - Event Dispatcher and callback list for C++
json - JSON for Modern C++
jsonpp - C++ JSON parser and stringify
json_struct - json_struct is a single header only C++ library for parsing JSON directly to C++ structs and vice versa