X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Fboost%2Frange%2Fadaptor%2Freplaced_if.hpp;h=83d3ec81b6ec03e27461238a179fdc4b0fef46e6;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=e425e7d8425505504357906211ef897ef8db0a53;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git diff --git a/ceph/src/boost/boost/range/adaptor/replaced_if.hpp b/ceph/src/boost/boost/range/adaptor/replaced_if.hpp index e425e7d84..83d3ec81b 100644 --- a/ceph/src/boost/boost/range/adaptor/replaced_if.hpp +++ b/ceph/src/boost/boost/range/adaptor/replaced_if.hpp @@ -103,13 +103,9 @@ namespace boost T m_to; }; - template< class Pred, class SinglePassRange > + template< class Pred, class SinglePassRange, class Value > inline replaced_if_range - operator|( - SinglePassRange& r, - const replace_if_holder< - Pred, - BOOST_DEDUCED_TYPENAME range_value::type>& f) + operator|(SinglePassRange& r, const replace_if_holder& f) { BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept)); @@ -118,13 +114,9 @@ namespace boost r, f.pred(), f.to()); } - template< class Pred, class SinglePassRange > + template< class Pred, class SinglePassRange, class Value > inline replaced_if_range - operator|( - const SinglePassRange& r, - const replace_if_holder< - Pred, - BOOST_DEDUCED_TYPENAME range_value::type>& f) + operator|(const SinglePassRange& r, const replace_if_holder& f) { BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept)); @@ -145,10 +137,9 @@ namespace boost range_detail::forwarder2TU(); } - template + template< class Pred, class SinglePassRange, class Value > inline replaced_if_range - replace_if(SinglePassRange& rng, Pred pred, - BOOST_DEDUCED_TYPENAME range_value::type to) + replace_if(SinglePassRange& rng, Pred pred, Value to) { BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept)); @@ -157,12 +148,9 @@ namespace boost rng, pred, to); } - template + template< class Pred, class SinglePassRange, class Value > inline replaced_if_range - replace_if( - const SinglePassRange& rng, - Pred pred, - BOOST_DEDUCED_TYPENAME range_value::type to) + replace_if(const SinglePassRange& rng, Pred pred, Value to) { BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept));