On 25/11/13 12:00, bearophile wrote: > Is this acceptable? > > struct Foo { > auto bar() { > const result = ...; > return result; > } > } Could work, nice thought :-) I was hoping for something in the function signature rather than internally, though.