diff options
Diffstat (limited to 'boost/multi_index/detail/rnd_index_ops.hpp')
-rw-r--r-- | boost/multi_index/detail/rnd_index_ops.hpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/boost/multi_index/detail/rnd_index_ops.hpp b/boost/multi_index/detail/rnd_index_ops.hpp index 5bf1ade7f5..6cb030fbc7 100644 --- a/boost/multi_index/detail/rnd_index_ops.hpp +++ b/boost/multi_index/detail/rnd_index_ops.hpp @@ -1,4 +1,4 @@ -/* Copyright 2003-2009 Joaquin M Lopez Munoz. +/* Copyright 2003-2013 Joaquin M Lopez Munoz. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) @@ -9,7 +9,7 @@ #ifndef BOOST_MULTI_INDEX_DETAIL_RND_INDEX_OPS_HPP #define BOOST_MULTI_INDEX_DETAIL_RND_INDEX_OPS_HPP -#if defined(_MSC_VER)&&(_MSC_VER>=1200) +#if defined(_MSC_VER) #pragma once #endif @@ -30,8 +30,7 @@ namespace detail{ template<typename Node,typename Allocator,typename Predicate> Node* random_access_index_remove( - random_access_index_ptr_array<Allocator>& ptrs,Predicate pred - BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(Node)) + random_access_index_ptr_array<Allocator>& ptrs,Predicate pred) { typedef typename Node::value_type value_type; typedef typename Node::impl_ptr_pointer impl_ptr_pointer; @@ -55,8 +54,7 @@ Node* random_access_index_remove( template<typename Node,typename Allocator,class BinaryPredicate> Node* random_access_index_unique( - random_access_index_ptr_array<Allocator>& ptrs,BinaryPredicate binary_pred - BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(Node)) + random_access_index_ptr_array<Allocator>& ptrs,BinaryPredicate binary_pred) { typedef typename Node::value_type value_type; typedef typename Node::impl_ptr_pointer impl_ptr_pointer; @@ -86,8 +84,7 @@ template<typename Node,typename Allocator,typename Compare> void random_access_index_inplace_merge( const Allocator& al, random_access_index_ptr_array<Allocator>& ptrs, - BOOST_DEDUCED_TYPENAME Node::impl_ptr_pointer first1,Compare comp - BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(Node)) + BOOST_DEDUCED_TYPENAME Node::impl_ptr_pointer first1,Compare comp) { typedef typename Node::value_type value_type; typedef typename Node::impl_pointer impl_pointer; @@ -151,8 +148,7 @@ template<typename Node,typename Allocator,class Compare> void random_access_index_sort( const Allocator& al, random_access_index_ptr_array<Allocator>& ptrs, - Compare comp - BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(Node)) + Compare comp) { /* The implementation is extremely simple: an auxiliary * array of pointers is sorted using stdlib facilities and |