Skip to content

Commit aa48037

Browse files
authored
Update README.md
1 parent 2128a0f commit aa48037

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,11 @@
1616

1717
**RTL** provides type-safe run-time reflection for modern C++ – combining compile-time guarantees with controlled run-time flexibility.
1818

19-
It enables name-based discovery and invocation of functions, constructors, and objects through a non-intrusive, type-safe reflection system that remains close to native execution.
20-
21-
For example, imagine you’ve written a simple function,
19+
It enables name-based discovery and invocation of functions, constructors, and object members through a non-intrusive, type-safe reflection system that follows modern C++ idioms. For example, consider the following function –
2220
```c++
2321
std::string complexToStr(float real, float img);
2422
```
25-
Using **RTL**, discover it by name and call dynamically:
23+
Using **RTL**, you can discover this function by name and invoke it dynamically
2624
```c++
2725
rtl::function<std::string(float, float)> cToStr = cxx::mirror().getFunction("complexToStr")
2826
->argsT<float, float>()

0 commit comments

Comments
 (0)