xo-reflect: + FunctionTdxInfo::make_canonical_name()

This commit is contained in:
Roland Conybeare 2024-06-18 17:16:05 -04:00
commit f4db0eefce
2 changed files with 27 additions and 5 deletions

View file

@ -148,18 +148,21 @@ namespace xo {
return true;
}
/** construct canonical description for this type
* will be like
* Retval(*)(Arg1,..,Argn)
**/
std::string make_canonical_name() const;
public:
/** function return value **/
TypeDescr retval_td_ = nullptr;
/** function arguments, in positional order **/
std::vector<TypeDescr> arg_td_v_;
/** true iff function promises never to throw **/
bool is_noexcept_ = false;
};
}
}
}; /*FunctionTdxInfo*/
namespace xo {
namespace reflect {
class TypeDescrExtra;
/* run-time description for a native c++ type */