On Sun, Oct 30, 2016 at 2:53 PM, Ville Voutilainen <ville.voutilai...@gmail.com> wrote: > So, how about adding these? They should give us regression tests > that make sure launder does the right in in case some optimizations > attempt to reuse const/reference members.
Good idea. You might put the reuse in a separate function in order to hide it from the optimizer. Jason