rttr
« Back to VersTracker
Description:
C++ Reflection Library
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c++ reflection library runtime serialization
Install: brew install rttr
About:
RTTR (Run-Time Type Reflection) is a C++ library that provides dynamic type information and reflection capabilities. It allows you to inspect types, create objects, and access members at runtime without macro or boilerplate code. This enables advanced features like serialization, scripting integration, and GUI binding in modern C++ applications.
Key Features:
  • No macros required for reflection
  • Clean, modern C++11 API
  • Supports serialization and deserialization
  • Plugin system for extending functionality
  • Minimal dependencies
Use Cases:
  • Implementing serialization for game engines or data systems
  • Building dynamic GUI editors with automatic property binding
  • Creating scripting language bindings for C++ applications
  • Runtime object inspection and debugging tools
Alternatives:
  • boost-ext/reflect – Boost-based solution with compile-time reflection
  • magic_get – Header-only library for aggregate reflection without runtime features
Version History
Detected Version Rev Change Commit
Sep 14, 2024 2:18am 0 VERSION_BUMP 48e16b69