Is it valid to call `get<0>(my::derived<int>())` from an importing module?
_______________________________________________export module my;
namespace my {
template<typename>
struct base {
template<int>
friend constexpr auto get(base) {
return 5;
}
};
export template<typename T>
struct derived : base<T> {
};
} // namespace my
Modules mailing list
Mod...@lists.isocpp.org
Subscription: https://lists.isocpp.org/mailman/listinfo.cgi/modules
Link to this post: http://lists.isocpp.org/modules/2019/09/0740.php