18
18
Another example is found in em(factory functions) that also frequently forward
19
19
their parameters to the constructors of objects that they return.
22
22
be duplicated by the forwarding entity: tt(Inserter) needed to duplicate the
23
23
interfaces of all five tt(string::insert) members; a factory function needed
24
24
to duplicate the interfaces of the constructors of the class of the objects it
28
28
offering emi(perfect forwarding), implemented through rvalue references and
29
29
variadic templates. With perfect forwarding the arguments passed to functions
30
30
are `perfectly forwarded' to nested functions. Forwarding is called