• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/static_vector.hpp>
12 
13 struct empty
14 {
operator ==(const empty &,const empty &)15    friend bool operator == (const empty &, const empty &){ return true; }
operator <(const empty &,const empty &)16    friend bool operator <  (const empty &, const empty &){ return true; }
17 };
18 
19 template class ::boost::container::static_vector<empty, 2>;
20 volatile ::boost::container::static_vector<empty, 2> dummy;
21 
22 namespace boost {
23 namespace container {
24 
25 //Explicit instantiation to detect compilation errors
26 template class boost::container::static_vector<int, 10>;
27 
28 }}
29 
main()30 int main()
31 {
32    return 0;
33 }
34