Method -
unsigned int Person::getAge(const Date);
Accessing it at runtime, obtaing the functor as,
auto getAge = fnGetAge->targetT< Person >()
.argsT< const nsdate::Date >()
.returnT();
fails to initialize the functor with error : rtl::error::SignatureMismatch
but,
auto getAge = fnGetAge->targetT< Person >()
.argsT< const nsdate::Date >()
.returnT< unsigned >();
succeeds,
The difference in arguments used to materialize the functor , Date & const Date
Expecetd behaviour,
It should work regardless of 'const' for value based arguments.