Hello,
Given for instance
struct(my_metaclass) TheClass {
[[some_attributes]]
template<typename A, std::size_t N, typename... Args>
static constexpr inline auto foo(A a, int arr[N], Args&&... args)
/* cv-qual if not static */
/* & / && if not static */
noexcept(noexcept(false))
-> decltype(a) try {
return 0;
} catch(...) {
return 1;
}
};
what would be the metaclass code (if possible) that given a meta::info corresponding to foo, would allow to recreate foo exactly as it is - but not by doing -> the_meta_info;, instead by reconstructing it piecewise (in order to have a starting point to make modifications on it).
thanks !
Hello,
Given for instance
what would be the metaclass code (if possible) that given a
meta::infocorresponding tofoo, would allow to recreatefooexactly as it is - but not by doing-> the_meta_info;, instead by reconstructing it piecewise (in order to have a starting point to make modifications on it).thanks !