Talk:cpp/container/array/tuple size

Run time vs compile time
I would not say expression std::cout << std::tuple_size::value << '\n'; is evaluated at run time. Instead, the compiler translates it into std::cout << 3 << '\n'; So it is still evaluated at compile time. --Bear 04:11, 6 February 2012 (PST)


 * I agree, that's technically incorrect. I think that note about run-time is not needed altogether, since things available at compile time can be always used at run time. P12 04:28, 7 February 2012 (PST)