comparison DEPENDENCIES/generic/include/boost/flyweight/no_locking.hpp @ 16:2665513ce2d3

Add boost headers
author Chris Cannam
date Tue, 05 Aug 2014 11:11:38 +0100
parents
children c530137014c0
comparison
equal deleted inserted replaced
15:663ca0da4350 16:2665513ce2d3
1 /* Copyright 2006-2008 Joaquin M Lopez Munoz.
2 * Distributed under the Boost Software License, Version 1.0.
3 * (See accompanying file LICENSE_1_0.txt or copy at
4 * http://www.boost.org/LICENSE_1_0.txt)
5 *
6 * See http://www.boost.org/libs/flyweight for library home page.
7 */
8
9 #ifndef BOOST_FLYWEIGHT_NO_LOCKING_HPP
10 #define BOOST_FLYWEIGHT_NO_LOCKING_HPP
11
12 #if defined(_MSC_VER)&&(_MSC_VER>=1200)
13 #pragma once
14 #endif
15
16 #include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
17 #include <boost/flyweight/no_locking_fwd.hpp>
18 #include <boost/flyweight/locking_tag.hpp>
19
20 /* null locking policy */
21
22 namespace boost{
23
24 namespace flyweights{
25
26 struct no_locking:locking_marker
27 {
28 struct mutex_type{};
29 typedef mutex_type lock_type;
30 };
31
32 } /* namespace flyweights */
33
34 } /* namespace boost */
35
36 #endif