Add missing small vector's explicit instantiation test

This commit is contained in:
Ion Gaztañaga
2015-09-07 18:33:51 +02:00
parent a91f6d317b
commit 08918078aa
2 changed files with 162 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
//////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2015-2015. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/container for documentation.
//
//////////////////////////////////////////////////////////////////////////////
#include <boost/container/small_vector.hpp>
struct empty
{
friend bool operator == (const empty &, const empty &){ return true; }
friend bool operator < (const empty &, const empty &){ return true; }
};
template class ::boost::container::small_vector<empty, 2>;
int main()
{
::boost::container::small_vector<empty, 2> dummy;
(void)dummy;
return 0;
}