|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61867 - in branches/release/boost/range: . detail
From: dgregor_at_[hidden]
Date: 2010-05-08 21:32:56
Author: dgregor
Date: 2010-05-08 21:32:55 EDT (Sat, 08 May 2010)
New Revision: 61867
URL: http://svn.boost.org/trac/boost/changeset/61867
Log:
Move Boost.Range's join_iterator intrusive_ptr_add_ref and intrusive_ptr_release where ADL will actually find them
Properties modified:
branches/release/boost/range/ (props changed)
Text files modified:
branches/release/boost/range/detail/join_iterator.hpp | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
Modified: branches/release/boost/range/detail/join_iterator.hpp
==============================================================================
--- branches/release/boost/range/detail/join_iterator.hpp (original)
+++ branches/release/boost/range/detail/join_iterator.hpp 2010-05-08 21:32:55 EDT (Sat, 08 May 2010)
@@ -71,24 +71,19 @@
mutable reference_count_t count;
};
-} // range_detail
-
template<typename Iterator1, typename Iterator2>
-inline void intrusive_ptr_add_ref(const range_detail::join_iterator_link<Iterator1,Iterator2>* p)
+inline void intrusive_ptr_add_ref(const join_iterator_link<Iterator1,Iterator2>* p)
{
p->add_reference();
}
template<typename Iterator1, typename Iterator2>
-inline void intrusive_ptr_release(const range_detail::join_iterator_link<Iterator1,Iterator2>* p)
+inline void intrusive_ptr_release(const join_iterator_link<Iterator1,Iterator2>* p)
{
if (p->release_reference())
delete p;
}
-namespace range_detail
-{
-
class join_iterator_begin_tag {};
class join_iterator_end_tag {};
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