Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/flyweight/no_tracking.hpp @ 125:34e428693f5d vext
Vext -> Repoint
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2018 11:15:39 +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_TRACKING_HPP |
Chris@16 | 10 #define BOOST_FLYWEIGHT_NO_TRACKING_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_tracking_fwd.hpp> |
Chris@16 | 18 #include <boost/flyweight/tracking_tag.hpp> |
Chris@16 | 19 |
Chris@16 | 20 /* Null tracking policy: elements are never erased from the factory. |
Chris@16 | 21 */ |
Chris@16 | 22 |
Chris@16 | 23 namespace boost{ |
Chris@16 | 24 |
Chris@16 | 25 namespace flyweights{ |
Chris@16 | 26 |
Chris@16 | 27 struct no_tracking:tracking_marker |
Chris@16 | 28 { |
Chris@16 | 29 struct entry_type |
Chris@16 | 30 { |
Chris@16 | 31 template<typename Value,typename Key> |
Chris@16 | 32 struct apply{typedef Value type;}; |
Chris@16 | 33 }; |
Chris@16 | 34 |
Chris@16 | 35 struct handle_type |
Chris@16 | 36 { |
Chris@16 | 37 template<typename Handle,typename TrackingHelper> |
Chris@16 | 38 struct apply{typedef Handle type;}; |
Chris@16 | 39 }; |
Chris@16 | 40 }; |
Chris@16 | 41 |
Chris@16 | 42 } /* namespace flyweights */ |
Chris@16 | 43 |
Chris@16 | 44 } /* namespace boost */ |
Chris@16 | 45 |
Chris@16 | 46 #endif |