3 ms·
What if the number of lhs values don't match the number of rhs values?
by ant6n 10y ago
What if the number of lhs values don't match the number of rhs values?
- Kristine1975 10y agoCompile-time error: Otherwise, if the expression std::tuple_size<E>::value is a well-formed integral constant expression, the number of elements in the identifier-list shall be equal to the value of that expression (E is the return type of "getvalues" in squidbidness's example, the initializer-list is "a, b, c".)