summaryrefslogtreecommitdiff
path: root/boost/heap/detail/tree_iterator.hpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-10-06 10:30:07 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-10-06 10:32:57 +0900
commit71d216b90256936a9638f325af9bc69d720e75de (patch)
tree9c5f682d341c7c88ad0c8e3d4b262e00b6fb691a /boost/heap/detail/tree_iterator.hpp
parent733b5d5ae2c5d625211e2985ac25728ac3f54883 (diff)
downloadboost-71d216b90256936a9638f325af9bc69d720e75de.tar.gz
boost-71d216b90256936a9638f325af9bc69d720e75de.tar.bz2
boost-71d216b90256936a9638f325af9bc69d720e75de.zip
Imported Upstream version 1.59.0
Change-Id: I2dde00f4eca71df3eea9d251dcaecde18a6c90a5 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/heap/detail/tree_iterator.hpp')
-rw-r--r--boost/heap/detail/tree_iterator.hpp18
1 files changed, 1 insertions, 17 deletions
diff --git a/boost/heap/detail/tree_iterator.hpp b/boost/heap/detail/tree_iterator.hpp
index 83c8d3fb4c..2bc05ea1ab 100644
--- a/boost/heap/detail/tree_iterator.hpp
+++ b/boost/heap/detail/tree_iterator.hpp
@@ -6,8 +6,6 @@
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
-// Disclaimer: Not a Boost library.
-
#ifndef BOOST_HEAP_DETAIL_TREE_ITERATOR_HPP
#define BOOST_HEAP_DETAIL_TREE_ITERATOR_HPP
@@ -23,8 +21,7 @@ namespace detail {
template<typename type>
-struct identity:
- public std::unary_function<type,type>
+struct identity
{
type& operator()(type& x) const
{ return x; }
@@ -33,19 +30,6 @@ struct identity:
{ return x; }
};
-template<typename type>
-struct caster:
- public std::unary_function<type,type>
-{
- template <typename U>
- type& operator()(U& x) const
- { return static_cast<type&>(x); }
-
- template <typename U>
- const type& operator()(const U& x) const
- { return static_cast<const type&>(x); }
-};
-
template<typename Node>
struct dereferencer
{