On Monday, 29 December 2014 at 15:53:25 UTC, Steven Schveighoffer wrote: > The compiler can infer attributes if a function is a template. > Not all attributes, but some of them. > > -Steve Ah, thanks, this explains it ;-). However, it's kind of uncool that this only works for templates...