#A A helper function with a default parameter
| 6 | |
| 7 | // #A A helper function with a default parameter |
| 8 | constexpr auto GetSize(const auto& t = {}) |
| 9 | { |
| 10 | return t.size(); // #B Call the size function of the container |
| 11 | } |
| 12 | |
| 13 | // #C A concept which uses T.size |
| 14 | template<typename T, size_t N> |