Results 5 comments of Michael Cook

IMO, struct { ... } foo(); would be the best except that it seems to be disallowed by the standards. Why? Perhaps so compilers would be forced to reject code...

Mainly because you then wouldn't need to invent a name for the type of the returned struct. It'd also be more clear that the struct exists solely so that the...

I would say that struct { ... } f(); should be merely shorthand for struct t { ... }; t f(); Exactly the same with all the same rules, limitations,...

On Mon, Jan 18, 2016 at 6:18 PM, Gabriel Dos Reis [email protected] wrote: > Where is 't' coming from? It's just a made up name for this example. > When...

: is missing. e.g., : ${a:=1}