From ec77b4943c2cfb9fca052f56d610454b7ad2bcd4 Mon Sep 17 00:00:00 2001 From: Peter Conrad Date: Sun, 22 Sep 2019 10:03:29 +0200 Subject: [PATCH] Added std::tuple_size for master compatibility --- include/fc/container/zeroed_array.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/fc/container/zeroed_array.hpp b/include/fc/container/zeroed_array.hpp index 0f91a0f..df1d530 100644 --- a/include/fc/container/zeroed_array.hpp +++ b/include/fc/container/zeroed_array.hpp @@ -72,3 +72,9 @@ namespace fc { } } } + +namespace std { + template<> + template< typename T, size_t N > + class tuple_size< fc::zero_initialized_array< T, N > > : public tuple_size< array< T, N > > {}; +}