]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/bimap/test/test_bimap_set_of.cpp
952f911dfee438c8c8d62d4acd4440081c33173a
3 // Copyright (c) 2006-2007 Matias Capeletto
5 // Distributed under the Boost Software License, Version 1.0.
6 // (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 // VC++ 8.0 warns on usage of certain Standard Library and API functions that
10 // can be cause buffer overruns or other possible security issues if misused.
11 // See https://web.archive.org/web/20071014014301/http://msdn.microsoft.com/msdnmag/issues/05/05/SafeCandC/default.aspx
12 // But the wording of the warning is misleading and unsettling, there are no
13 // portable alternative functions, and VC++ 8.0's own libraries use the
14 // functions in question. So turn off the warnings.
15 #define _CRT_SECURE_NO_DEPRECATE
16 #define _SCL_SECURE_NO_DEPRECATE
18 #include <boost/config.hpp>
20 #include <boost/core/ignore_unused.hpp>
22 #include <boost/bimap/set_of.hpp>
26 typedef boost::bimaps::set_of
<int> set_type
;
27 typedef boost::bimaps::set_of_relation
<> set_type_of_relation
;
28 boost::ignore_unused
<set_type
>();
29 boost::ignore_unused
<set_type_of_relation
>();