@@ -220,33 +220,33 @@ namespace rtl_tests
220220 {
221221 auto _ = rtl::CxxMirror ({
222222
223- rtl::type ().record <Person>(person::class_ ).build (),
223+ rtl::type ().record <Person>(cxx::type::Person::id ).build (),
224224
225225 rtl::type ().member <Person>().constructor <std::string>().build (),
226226
227- rtl::type ().member <Person>().methodStatic (person::str_createPtr ).build (&Person::createPtr),
227+ rtl::type ().member <Person>().methodStatic (cxx::type::Person::fn::createPtr::id ).build (&Person::createPtr),
228228
229- rtl::type ().member <Person>().method <void >(person::str_updateAddress ).build (&Person::updateAddress),
229+ rtl::type ().member <Person>().method <void >(cxx::type::Person::fn::updateAddress::id ).build (&Person::updateAddress),
230230
231- rtl::type ().member <Person>().method <std::string>(person::str_updateAddress ).build (&Person::updateAddress),
231+ rtl::type ().member <Person>().method <std::string>(cxx::type::Person::fn::updateAddress::id ).build (&Person::updateAddress),
232232
233- rtl::type ().member <Person>().method (person::str_getFirstName ).build (&Person::getFirstName),
233+ rtl::type ().member <Person>().method (cxx::type::Person::fn::getFirstName::id ).build (&Person::getFirstName),
234234
235- rtl::type ().member <Person>().methodConst (person::str_updateLastName ).build (&Person::updateLastName),
235+ rtl::type ().member <Person>().methodConst (cxx::type::Person::fn::updateLastName::id ).build (&Person::updateLastName),
236236
237- rtl::type ().member <Person>().methodConst <void >(person::str_updateAddress ).build (&Person::updateAddress),
237+ rtl::type ().member <Person>().methodConst <void >(cxx::type::Person::fn::updateAddress::id ).build (&Person::updateAddress),
238238
239- rtl::type ().member <Person>().methodConst <std::string>(person::str_updateAddress ).build (&Person::updateAddress),
239+ rtl::type ().member <Person>().methodConst <std::string>(cxx::type::Person::fn::updateAddress::id ).build (&Person::updateAddress),
240240
241- rtl::type ().member <Person>().methodStatic (person::str_getDefaults ).build (&Person::getDefaults),
241+ rtl::type ().member <Person>().methodStatic (cxx::type::Person::fn::getDefaults::id ).build (&Person::getDefaults),
242242
243- rtl::type ().member <Person>().methodStatic (person::str_createConst ).build (&Person::createConst),
243+ rtl::type ().member <Person>().methodStatic (cxx::type::Person::fn::createConst::id ).build (&Person::createConst),
244244
245- rtl::type ().member <Person>().methodStatic <void >(person::str_getProfile ).build (&Person::getProfile),
245+ rtl::type ().member <Person>().methodStatic <void >(cxx::type::Person::fn::getProfile::id ).build (&Person::getProfile),
246246
247- rtl::type ().member <Person>().methodStatic <bool >(person::str_getProfile ).build (&Person::getProfile),
247+ rtl::type ().member <Person>().methodStatic <bool >(cxx::type::Person::fn::getProfile::id ).build (&Person::getProfile),
248248
249- rtl::type ().member <Person>().methodStatic <std::string, size_t >(person::str_getProfile ).build (&Person::getProfile)
249+ rtl::type ().member <Person>().methodStatic <std::string, size_t >(cxx::type::Person::fn::getProfile::id ).build (&Person::getProfile)
250250 });
251251
252252 std::cout << " \n [t4]\t rtl_tests::InitMirror::reflectingPerson() ==> Done.\n " ;
@@ -272,20 +272,20 @@ namespace rtl_tests
272272 /* GCC fails to automatically identify the correct overloaded functor to pick. (non-const-lvalue-ref & rvalue as argument)
273273 we need to explicitly cast the functor like, static_cast<void(Animal::*)(std::string&)>(&Animal::setAnimalName).
274274 */ rtl::type ().member <Animal>()
275- .method <std::string&>(cxx::type::Animal::fn::setAnimalName::id)
276- .build (static_cast <void (Animal::*)(std::string&)>(&Animal::setAnimalName)), // overloaded method, taking non-const lvalue reference as argument.
275+ .method <std::string&>(cxx::type::Animal::fn::setAnimalName::id)
276+ .build (static_cast <void (Animal::*)(std::string&)>(&Animal::setAnimalName)), // overloaded method, taking non-const lvalue reference as argument.
277277
278278 rtl::type ().member <Animal>()
279- .method <std::string&&>(cxx::type::Animal::fn::setAnimalName::id)
280- .build (static_cast <void (Animal::*)(std::string&&)>(&Animal::setAnimalName)), // overloaded method, taking rvalue reference as argument.
279+ .method <std::string&&>(cxx::type::Animal::fn::setAnimalName::id)
280+ .build (static_cast <void (Animal::*)(std::string&&)>(&Animal::setAnimalName)), // overloaded method, taking rvalue reference as argument.
281281
282282 rtl::type ().member <Animal>()
283- .methodStatic <std::string&>(cxx::type::Animal::fn::updateZooKeeper::id)
284- .build (static_cast <std::string (*)(std::string&)>(&Animal::updateZooKeeper)), // static method, taking non-const lvalue reference as argument.
283+ .methodStatic <std::string&>(cxx::type::Animal::fn::updateZooKeeper::id)
284+ .build (static_cast <std::string (*)(std::string&)>(&Animal::updateZooKeeper)), // static method, taking non-const lvalue reference as argument.
285285
286286 rtl::type ().member <Animal>()
287- .methodStatic <std::string&&>(cxx::type::Animal::fn::updateZooKeeper::id)
288- .build (static_cast <std::string (*)(std::string&&)>(&Animal::updateZooKeeper)), // static method, taking rvalue reference as argument.
287+ .methodStatic <std::string&&>(cxx::type::Animal::fn::updateZooKeeper::id)
288+ .build (static_cast <std::string (*)(std::string&&)>(&Animal::updateZooKeeper)), // static method, taking rvalue reference as argument.
289289
290290 });
291291
0 commit comments