[std-interval] passing by value vs reference

Gabriel Dos Reis gdr at integrable-solutions.net
Wed Apr 5 17:12:35 PDT 2006


Guillaume Melquiond <guillaume.melquiond at ens-lyon.fr> writes:

[...]

| Anyway, do you know of a way to avoid this issue?
| (Please do not suggest macros :-)

I happen to have the luck to seat in front of Sylvain at this moment
so we had a brief discussion.

While I do agree with Lawrence and Steve, I think Sylvain has a point
about the performance on some x86-based systems there is a performance
problem.  I'm afraid I do not have a clean solution at the moment.
Even template aliases don't help here.

-- Gaby


More information about the Std-interval mailing list