diff --git a/doc/html/index.html b/doc/html/index.html index a881af7..25f8d99 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -147,7 +147,7 @@

- +

Last revised: January 02, 2013 at 07:48:08 GMT

Last revised: January 02, 2013 at 08:04:07 GMT


diff --git a/doc/html/range/reference/extending/method_3/method_3_1.html b/doc/html/range/reference/extending/method_3/method_3_1.html index 6628403..a79e7b3 100644 --- a/doc/html/range/reference/extending/method_3/method_3_1.html +++ b/doc/html/range/reference/extending/method_3/method_3_1.html @@ -90,6 +90,12 @@ const detail::reverse_forwarder reversed = detail::reverse_forwarder(); } + Note that this last step only applies if the adaptor takes no arguments. + If the adaptor takes arguments (such as indexed), + then there is no need for a variable. Instead, give the tag type + a constructor that takes the arguments (and store those arguments + in the tag object). A usage of the adaptor will then involve construction + of an object of the tag type. diff --git a/doc/reference/extending.qbk b/doc/reference/extending.qbk index 61687b1..a4657a2 100644 --- a/doc/reference/extending.qbk +++ b/doc/reference/extending.qbk @@ -225,6 +225,10 @@ namespace const detail::reverse_forwarder reversed = detail::reverse_forwarder(); } `` +Note that this last step only applies if the adaptor takes no arguments. If the adaptor takes arguments +(such as `indexed`), then there is no need for a variable. Instead, give the tag type a +constructor that takes the arguments (and store those arguments in the tag object). A usage +of the adaptor will then involve construction of an object of the tag type. [endsect]