On Tue, Oct 1, 2013 at 12:59 AM, Mathias Gaunard <mathias.gaun...@ens-lyon.org> wrote: > To clarify, in terms of performance, from best-to-worst: > 1) everything by reference: no problem with performance (but problematic > dangling references in some scenarios) > 2) everything by value: no CSE or other optimizations > 3) nodes by value, terminals by reference: no CSE or other optimizations + > loads when accessing the terminals
Just out of interest: would holding the a*b temporary node by rvalue reference be possible and would it be of any help? Cheers, Bart _______________________________________________ proto mailing list proto@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/proto