Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 148 Bytes

File metadata and controls

8 lines (6 loc) · 148 Bytes

decltype-for-addition-template-function

template<typename T, typename U> auto add(const T& t, const U& u) -> decltype(t + u) { return t + u;

}