Added workaround for gcc 4.6 with C array

This commit is contained in:
Kohei Takahashi
2018-04-26 00:02:57 +09:00
parent 3b8fb67b52
commit e8da43a539
2 changed files with 7 additions and 0 deletions

View File

@ -81,6 +81,9 @@ int main()
test_at<list<int[3]> >();
test_at<tuple<int[3]> >();
#if !BOOST_WORKAROUND(BOOST_GCC, / 100 == 406) || defined(BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS)
// FIXME: gcc 4.6 w/ c++0x doesn't like set with array...
test_at_key<set<int[3]> >();
#endif
test_at_key<map<pair<int[3], int[3]> > >();
}