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/list.hpp>
12
13struct empty
14{
15 friend bool operator == (const empty &, const empty &){ return true; }
16 friend bool operator < (const empty &, const empty &){ return true; }
17};
18
19template class ::boost::container::list<empty>;
20
21int main()
22{
23 ::boost::container::list<empty> dummy;
24 return 0;
25}
26

source code of boost/libs/container/test/explicit_inst_list_test.cpp