15 May
2017
15 May
'17
9:23 p.m.
Niall Douglas wrote:
We don't need to depend on guaranteed return value elision. There is an emplacing constructor, an initializer_list constructor, and the observers return references. So one does not need a default constructor, nor copy nor move.
How are you going to return it from a function then? That's what these types are, function return values.