From 36f5aa842b8e4050030bcc474b81513bfd3eed18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sat, 25 Jun 2016 11:20:11 +0200 Subject: [PATCH] Remove some instantiations to avoid hitting section limits when compiling with GCC. --- test/flat_map_test.cpp | 16 -------------- test/map_test.cpp | 48 ------------------------------------------ 2 files changed, 64 deletions(-) diff --git a/test/flat_map_test.cpp b/test/flat_map_test.cpp index b6a7d4e..bd2fb23 100644 --- a/test/flat_map_test.cpp +++ b/test/flat_map_test.cpp @@ -68,22 +68,6 @@ template class flat_multimap < std::pair > >; -template class flat_multimap - < test::movable_and_copyable_int - , test::movable_and_copyable_int - , std::less - , std::allocator - < std::pair > - >; - -template class flat_multimap - < test::movable_and_copyable_int - , test::movable_and_copyable_int - , std::less - , allocator - < std::pair > - >; - //As flat container iterators are typedefs for vector::[const_]iterator, //no need to explicit instantiate them diff --git a/test/map_test.cpp b/test/map_test.cpp index 1573dc9..aca18ca 100644 --- a/test/map_test.cpp +++ b/test/map_test.cpp @@ -53,15 +53,6 @@ template class map < std::pair > >; -//multimap -template class multimap - < test::movable_and_copyable_int - , test::movable_and_copyable_int - , std::less - , test::simple_allocator - < std::pair > - >; - template class multimap < test::movable_and_copyable_int , test::movable_and_copyable_int @@ -70,45 +61,6 @@ template class multimap < std::pair > >; -template class multimap - < test::movable_and_copyable_int - , test::movable_and_copyable_int - , std::less - , adaptive_pool - < std::pair > - >; - -namespace container_detail { - -template class tree - < const test::movable_and_copyable_int - , std::pair - , container_detail::select1st< std::pair > - , std::less - , test::simple_allocator - < std::pair > - , tree_assoc_defaults >; - -template class tree - < const test::movable_and_copyable_int - , std::pair - , container_detail::select1st< std::pair > - , std::less - , std::allocator - < std::pair > - , tree_assoc_defaults >; - -template class tree - < const test::movable_and_copyable_int - , std::pair - , container_detail::select1st< std::pair > - , std::less - , adaptive_pool - < std::pair > - , tree_assoc_defaults >; - -} //container_detail { - }} //boost::container class recursive_map