Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/intrusive/detail/empty_node_checker.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 | f46d142149f5 |
children |
rev | line source |
---|---|
Chris@102 | 1 ///////////////////////////////////////////////////////////////////////////// |
Chris@102 | 2 // |
Chris@102 | 3 // (C) Copyright Ion Gaztanaga 2014-2014 |
Chris@102 | 4 // |
Chris@102 | 5 // Distributed under the Boost Software License, Version 1.0. |
Chris@102 | 6 // (See accompanying file LICENSE_1_0.txt or copy at |
Chris@102 | 7 // http://www.boost.org/LICENSE_1_0.txt) |
Chris@102 | 8 // |
Chris@102 | 9 // See http://www.boost.org/libs/intrusive for documentation. |
Chris@102 | 10 // |
Chris@102 | 11 ///////////////////////////////////////////////////////////////////////////// |
Chris@102 | 12 |
Chris@102 | 13 #ifndef BOOST_INTRUSIVE_DETAIL_EMPTY_NODE_CHECKER_HPP |
Chris@102 | 14 #define BOOST_INTRUSIVE_DETAIL_EMPTY_NODE_CHECKER_HPP |
Chris@102 | 15 |
Chris@102 | 16 #ifndef BOOST_CONFIG_HPP |
Chris@102 | 17 # include <boost/config.hpp> |
Chris@102 | 18 #endif |
Chris@102 | 19 |
Chris@102 | 20 #if defined(BOOST_HAS_PRAGMA_ONCE) |
Chris@102 | 21 # pragma once |
Chris@102 | 22 #endif |
Chris@102 | 23 |
Chris@102 | 24 namespace boost { |
Chris@102 | 25 namespace intrusive { |
Chris@102 | 26 namespace detail { |
Chris@102 | 27 |
Chris@102 | 28 template<class ValueTraits> |
Chris@102 | 29 struct empty_node_checker |
Chris@102 | 30 { |
Chris@102 | 31 typedef ValueTraits value_traits; |
Chris@102 | 32 typedef typename value_traits::node_traits node_traits; |
Chris@102 | 33 typedef typename node_traits::const_node_ptr const_node_ptr; |
Chris@102 | 34 |
Chris@102 | 35 struct return_type {}; |
Chris@102 | 36 |
Chris@102 | 37 void operator () (const const_node_ptr&, const return_type&, const return_type&, return_type&) {} |
Chris@102 | 38 }; |
Chris@102 | 39 |
Chris@102 | 40 } //namespace detail{ |
Chris@102 | 41 } //namespace intrusive{ |
Chris@102 | 42 } //namespace boost{ |
Chris@102 | 43 |
Chris@102 | 44 #endif //BOOST_INTRUSIVE_DETAIL_EMPTY_NODE_CHECKER_HPP |