You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rtl::function<std::string(float, float)> cToStr = cxx_mirror.getFunction("complexToStr") // cxx_mirror?? see quick preview!
15
-
->argsT<float, float>()
16
-
.returnT<std::string>();
14
+
rtl::function<std::string(float, float)> cToStr = cxx::mirror().getFunction("complexToStr") // cxx::mirror?? see quick preview!
15
+
->argsT<float, float>()
16
+
.returnT<std::string>();
17
17
if(cToStr) { // Function materialized?
18
18
std::string result = cToStr(61, 35); // Works! (int → float? No problem.)
19
19
}
@@ -44,8 +44,6 @@ Once the functions start doing real work, both perform identically.
44
44
45
45
****Exception-Free Surface*** – All predictable failures return error codes; no hidden throws.
46
46
47
-
****Deterministic Lifetimes*** – Automatic ownership tracking of `Heap` and `Stack` instances with zero hidden deep copies.
48
-
49
47
****Cross-Compiler Consistency*** – Pure standard C++20, with no compiler extensions or conditional branching on compiler differences.
50
48
51
49
****Tooling-Friendly Architecture*** – Reflection data is encapsulated in a single immutable, lazily-initialized object that can be shared with tools and frameworks without compile-time type knowledge — ideal for serializers, debuggers, test frameworks, scripting engines, and editors.
0 commit comments