You don’t need that- remember that since decltype doesn’t evaluate its argument, you can just call on nullptr
.
decltype(((T*)nullptr)->foo()) footype;
You don’t need that- remember that since decltype doesn’t evaluate its argument, you can just call on nullptr
.
decltype(((T*)nullptr)->foo()) footype;