Skip to content

Commit b22581c

Browse files
committed
README update.
1 parent 830840e commit b22581c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ auto cxx_mirror = rtl::CxxMirror({ /* ...register all types here... */ });
6262
```
6363
The `cxx_mirror` object provides access to the runtime reflection system. It enables querying, introspection, and instantiation of registered types without requiring compile-time type knowledge at the call site.
6464
It can reside in any translation unit and is initialized on first use. To make it globally accessible in a controlled manner, a singleton interface can be used –
65-
*`(MyReflection.h)`*
6665
```c++
66+
// MyReflection.h
6767
namespace rtl { class CxxMirror; } // Forward declaration, no includes here!
6868
struct cxx { static rtl::CxxMirror& mirror(); }; // The Singleton.
6969
```
7070
define and register everything in an isolated translation unit,
71-
*`(MyReflection.cpp)`*
7271
```c++
72+
// MyReflection.cpp
7373
#include <rtl_builder.h> // Reflection builder interface.
7474

7575
rtl::CxxMirror& cxx::mirror() {

0 commit comments

Comments
 (0)