annotate DEPENDENCIES/generic/include/boost/flyweight/no_locking.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 /* Copyright 2006-2008 Joaquin M Lopez Munoz.
Chris@16 2 * Distributed under the Boost Software License, Version 1.0.
Chris@16 3 * (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 4 * http://www.boost.org/LICENSE_1_0.txt)
Chris@16 5 *
Chris@16 6 * See http://www.boost.org/libs/flyweight for library home page.
Chris@16 7 */
Chris@16 8
Chris@16 9 #ifndef BOOST_FLYWEIGHT_NO_LOCKING_HPP
Chris@16 10 #define BOOST_FLYWEIGHT_NO_LOCKING_HPP
Chris@16 11
Chris@101 12 #if defined(_MSC_VER)
Chris@16 13 #pragma once
Chris@16 14 #endif
Chris@16 15
Chris@16 16 #include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
Chris@16 17 #include <boost/flyweight/no_locking_fwd.hpp>
Chris@16 18 #include <boost/flyweight/locking_tag.hpp>
Chris@16 19
Chris@16 20 /* null locking policy */
Chris@16 21
Chris@16 22 namespace boost{
Chris@16 23
Chris@16 24 namespace flyweights{
Chris@16 25
Chris@16 26 struct no_locking:locking_marker
Chris@16 27 {
Chris@16 28 struct mutex_type{};
Chris@16 29 typedef mutex_type lock_type;
Chris@16 30 };
Chris@16 31
Chris@16 32 } /* namespace flyweights */
Chris@16 33
Chris@16 34 } /* namespace boost */
Chris@16 35
Chris@16 36 #endif