From 5e470543adc0abe98eefc94d3a2f008ba726de5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20J=C3=B8rgen=20Ottosen?= Date: Sat, 11 Sep 2004 22:01:30 +0000 Subject: [PATCH] *** empty log message *** [SVN r25019] --- doc/utility_class.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/utility_class.html b/doc/utility_class.html index 5353b57..22d355a 100644 --- a/doc/utility_class.html +++ b/doc/utility_class.html @@ -243,18 +243,20 @@ non-const iterators from the same container.

Sequence copy_range( const ForwardRange& r ); -

- Constructs a new sequence of the specified type from the elements - in the given range. +
+ Returns Sequence( begin(r), end(r) );

Sequence transform_range( const ForwardRange& r, Func func ); -

- Constructs a new sequence from the elements in the range, -transformed by a function. +
+Effects
+Sequence seq;
+std::transform( begin(r), end(r), std::back_inserter(seq), func ); +
+return seq;