Skip to content

Commit 9c73b2f

Browse files
committed
Revert "Cease dependence on Range"
This reverts commit a3e511f.
1 parent 143edd3 commit 9c73b2f

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

include/boost/coroutine/asymmetric_coroutine.hpp

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <boost/assert.hpp>
1515
#include <boost/config.hpp>
1616
#include <boost/move/move.hpp>
17+
#include <boost/range.hpp>
1718
#include <boost/throw_exception.hpp>
1819
#include <boost/utility/explicit_operator_bool.hpp>
1920

@@ -2390,19 +2391,12 @@ end( push_coroutine< R > & c)
23902391

23912392
}
23922393

2393-
// forward declaration of Boost.Range traits to break dependency on it
2394-
template<typename C, typename Enabler>
2395-
struct range_mutable_iterator;
2396-
2397-
template<typename C, typename Enabler>
2398-
struct range_const_iterator;
2399-
24002394
template< typename Arg >
2401-
struct range_mutable_iterator< coroutines::push_coroutine< Arg >, void >
2395+
struct range_mutable_iterator< coroutines::push_coroutine< Arg > >
24022396
{ typedef typename coroutines::push_coroutine< Arg >::iterator type; };
24032397

24042398
template< typename R >
2405-
struct range_mutable_iterator< coroutines::pull_coroutine< R >, void >
2399+
struct range_mutable_iterator< coroutines::pull_coroutine< R > >
24062400
{ typedef typename coroutines::pull_coroutine< R >::iterator type; };
24072401

24082402
}

0 commit comments

Comments
 (0)