Add support for std::array

This commit is contained in:
Peter Dimov
2021-09-29 21:02:39 +03:00
parent a039f8c318
commit 91a64b3bcf
2 changed files with 31 additions and 3 deletions
+10
View File
@@ -22,6 +22,10 @@
# include <unordered_map>
#endif
#if !defined(BOOST_NO_CXX11_HDR_ARRAY)
# include <array>
#endif
//
#define TEST(...) BOOST_TEST_EQ((boost::core::type_name<__VA_ARGS__>()), std::string(#__VA_ARGS__))
@@ -149,5 +153,11 @@ int main()
#endif
#if !defined(BOOST_NO_CXX11_HDR_ARRAY)
TEST(std::array<std::string, 7>);
TEST(std::array<std::wstring const*, 0> const&);
#endif
return boost::report_errors();
}