1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2024-11-12 21:09:01 +00:00

Merge pull request #48 from kariya-mitsuru/std-tuple_size-doc

[array.std::tuple_size] Fix examples compilation error.
This commit is contained in:
Bolero MURAKAMI 2013-09-12 19:40:55 -07:00
commit 350e883d35

View file

@ -33,8 +33,8 @@ Examples
using namespace sprout;
using type = array<int, 10>;
SPROUT_STATIC_CONSTEXPR auto size = std::tuple_size<type>::value;
static_assert(size == 10, "tuple size of array is 10.");
SPROUT_STATIC_CONSTEXPR auto n = std::tuple_size<type>::value;
static_assert(n == 10, "tuple size of array is 10.");
Header
========================================