X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=libs%2Frange%2Fdoc%2Fhtml%2Frange%2Freference%2Fadaptors%2Freference%2Freplaced_if.html;h=9a51ab291e129bef3076c7d59f0ee39c4f2093d4;hb=08c1e93fa36a49f49325a07fe91ff92c964c2b6c;hp=e259a8434a236e742b69d306f17798129bd46bd1;hpb=bb4dd8289b351fae6b55e303f189127a394a1edd;p=platform%2Fupstream%2Fboost.git diff --git a/libs/range/doc/html/range/reference/adaptors/reference/replaced_if.html b/libs/range/doc/html/range/reference/adaptors/reference/replaced_if.html index e259a84..9a51ab2 100644 --- a/libs/range/doc/html/range/reference/adaptors/reference/replaced_if.html +++ b/libs/range/doc/html/range/reference/adaptors/reference/replaced_if.html @@ -3,7 +3,7 @@
Precondition: -
-value_type
- is convertible to the argument type of pred
.
- value_type
+ is convertible to the argument type of pred
.
+
new_value
is
- convertible to the value_type
- of the range.
- new_value
is
+ convertible to the value_type
+ of the range.
+
x
in the returned
@@ -102,11 +100,11 @@
is the corresponding element in the original range.
boost::replaced_if_range<typeof(rng)>
+ Range Return Type: boost::replaced_if_range<decltype(rng)>
-
#include <boost/range/adaptor/replaced_if.hpp> #include <boost/range/algorithm/copy.hpp> #include <boost/assign.hpp> -#include <algorithm> +#include <iterator> #include <iostream> #include <vector> @@ -152,16 +149,17 @@
- This would produce the output: + This would produce the output:
-1,10,3,10,5,10,7,10,9 +1,10,3,10,5,10,7,10,9,
- |