Brian Silverman | fad8f55 | 2018-08-04 23:36:19 -0700 | [diff] [blame^] | 1 | ////////////////////////////////////////////////////////////////////////////// |
| 2 | // |
| 3 | // (C) Copyright Ion Gaztanaga 2015-2015. Distributed under the Boost |
| 4 | // Software License, Version 1.0. (See accompanying file |
| 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 6 | // |
| 7 | // See http://www.boost.org/libs/container for documentation. |
| 8 | // |
| 9 | ////////////////////////////////////////////////////////////////////////////// |
| 10 | |
| 11 | #include <boost/container/flat_map.hpp> |
| 12 | |
| 13 | struct empty |
| 14 | { |
| 15 | friend bool operator == (const empty &, const empty &){ return true; } |
| 16 | friend bool operator < (const empty &, const empty &){ return true; } |
| 17 | }; |
| 18 | |
| 19 | template class ::boost::container::flat_map<empty, empty>; |
| 20 | template class ::boost::container::flat_multimap<empty, empty>; |
| 21 | |
| 22 | int main() |
| 23 | { |
| 24 | ::boost::container::flat_map<empty, empty> dummy; |
| 25 | ::boost::container::flat_multimap<empty, empty> dummy2; |
| 26 | (void)dummy; (void)dummy2; |
| 27 | return 0; |
| 28 | } |