j
k
j a
j l
AMDG Howard Hinnant wrote:
...template <class T, class U> decltype(true ? T() : U()) Min(T&& a, U&& b) { return b < a ? b : a; }
template <class T, class U> decltype(true ? T() : U()) Min(T&& a, U&& b) { return b < a ? b : a; }
Should this really work if T of U is a reference type and thus cannot be default constructed? In Christ, Steven Watanabe
Back to the thread
Back to the list