[range] fixed #6212 (missing step in documentation for how to write a range adaptor)

[SVN r82314]
This commit is contained in:
Nathan Ridge committed 2013-01-02 07:51:21 +00:00
1 parent 1d51c3afb2
commit 61979ff421
3 files changed
+17 -1

No files matched your search

+8
View File
@@ -218,6 +218,14 @@ operator|( const BidirectionalRng& r, detail::reverse_forwarder )
}
``
# Declare the adaptor itself (it is a variable of the tag type).
``
namespace
{
const detail::reverse_forwarder reversed = detail::reverse_forwarder();
}
``
[endsect]
[section:method_3_2 Method 3.2: Implement a Range Adaptor with arguments]