You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 !
The text was updated successfully, but these errors were encountered:
Hello,
Given for instance
what would be the metaclass code (if possible) that given a
meta::info
corresponding tofoo
, would allow to recreatefoo
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 !
The text was updated successfully, but these errors were encountered: