The goal here will be to provide the mechanics required for creating a dynamically typed object at runtime:
// for read-only objects that use static-typing at compile-time:
real value = 6;
object o = const_object(&value);
// for owner objects that use dynamic-typing at runtime:
object o = Reflection::GetType("Ngen::real")->CreateInstance();
This will require meta-programming macros, classes, and functions that can be used to generate RTI at compile-time. All code related to this ticket will go in the Ngen::Reflection namespace which will reside in the Ngen.Reflection library (or shared object file).
The goal here will be to provide the mechanics required for creating a dynamically typed object at runtime:
This will require meta-programming macros, classes, and functions that can be used to generate RTI at compile-time. All code related to this ticket will go in the
Ngen::Reflection
namespace which will reside in theNgen.Reflection
library (or shared object file).