Login
From:
godbolt.org
(Uncensored)
subscribe
Compiler Explorer
https://godbolt.org/z/5b5RuQ
links
backlinks
Roast topics
Find topics
Find it!
template <typename T> struct wrapper { T _value; void operator() () requires std::is_invocable_v<T> { _value(); } void reset(T v) { _value = v; } }; // explicit instantiation: template struct wrapper<int>;