|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r85897 - in trunk/boost: . tuple/detail
From: steveire_at_[hidden]
Date: 2013-09-25 06:29:59
Author: skelly
Date: 2013-09-25 06:29:59 EDT (Wed, 25 Sep 2013)
New Revision: 85897
URL: http://svn.boost.org/trac/boost/changeset/85897
Log:
Remove use of obsolete BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE macro.
Text files modified:
trunk/boost/multi_index_container.hpp | 22 ++++++----------------
trunk/boost/tuple/detail/tuple_basic.hpp | 4 ++--
2 files changed, 8 insertions(+), 18 deletions(-)
Modified: trunk/boost/multi_index_container.hpp
==============================================================================
--- trunk/boost/multi_index_container.hpp Wed Sep 25 06:29:44 2013 (r85896)
+++ trunk/boost/multi_index_container.hpp 2013-09-25 06:29:59 EDT (Wed, 25 Sep 2013) (r85897)
@@ -452,9 +452,7 @@
};
template<int N,typename IteratorType>
- typename nth_index_iterator<N>::type project(
- IteratorType it
- BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(int,N))
+ typename nth_index_iterator<N>::type project(IteratorType it)
{
typedef typename nth_index<N>::type index;
@@ -471,9 +469,7 @@
}
template<int N,typename IteratorType>
- typename nth_index_const_iterator<N>::type project(
- IteratorType it
- BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(int,N))const
+ typename nth_index_const_iterator<N>::type project(IteratorType it)const
{
typedef typename nth_index<N>::type index;
@@ -1043,9 +1039,7 @@
template<int N,typename Value,typename IndexSpecifierList,typename Allocator>
typename nth_index<
multi_index_container<Value,IndexSpecifierList,Allocator>,N>::type&
-get(
- multi_index_container<Value,IndexSpecifierList,Allocator>& m
- BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(int,N))
+get(multi_index_container<Value,IndexSpecifierList,Allocator>& m)
{
typedef multi_index_container<
Value,IndexSpecifierList,Allocator> multi_index_type;
@@ -1067,9 +1061,7 @@
template<int N,typename Value,typename IndexSpecifierList,typename Allocator>
const typename nth_index<
multi_index_container<Value,IndexSpecifierList,Allocator>,N>::type&
-get(
- const multi_index_container<Value,IndexSpecifierList,Allocator>& m
- BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(int,N))
+get(const multi_index_container<Value,IndexSpecifierList,Allocator>& m)
{
typedef multi_index_container<
Value,IndexSpecifierList,Allocator> multi_index_type;
@@ -1169,8 +1161,7 @@
multi_index_container<Value,IndexSpecifierList,Allocator>,N>::type
project(
multi_index_container<Value,IndexSpecifierList,Allocator>& m,
- IteratorType it
- BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(int,N))
+ IteratorType it)
{
typedef multi_index_container<
Value,IndexSpecifierList,Allocator> multi_index_type;
@@ -1204,8 +1195,7 @@
multi_index_container<Value,IndexSpecifierList,Allocator>,N>::type
project(
const multi_index_container<Value,IndexSpecifierList,Allocator>& m,
- IteratorType it
- BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(int,N))
+ IteratorType it)
{
typedef multi_index_container<
Value,IndexSpecifierList,Allocator> multi_index_type;
Modified: trunk/boost/tuple/detail/tuple_basic.hpp
==============================================================================
--- trunk/boost/tuple/detail/tuple_basic.hpp Wed Sep 25 06:29:44 2013 (r85896)
+++ trunk/boost/tuple/detail/tuple_basic.hpp 2013-09-25 06:29:59 EDT (Wed, 25 Sep 2013) (r85897)
@@ -208,7 +208,7 @@
inline typename access_traits<
typename element<N, cons<HT, TT> >::type
>::non_const_type
-get(cons<HT, TT>& c BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(int, N)) {
+get(cons<HT, TT>& c) {
typedef BOOST_DEDUCED_TYPENAME detail::drop_front<N>::BOOST_NESTED_TEMPLATE
apply<cons<HT, TT> > impl;
typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
@@ -222,7 +222,7 @@
inline typename access_traits<
typename element<N, cons<HT, TT> >::type
>::const_type
-get(const cons<HT, TT>& c BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(int, N)) {
+get(const cons<HT, TT>& c) {
typedef BOOST_DEDUCED_TYPENAME detail::drop_front<N>::BOOST_NESTED_TEMPLATE
apply<cons<HT, TT> > impl;
typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk