
26 May
2017
26 May
'17
4:19 p.m.
Niall Douglas wrote:
But you still get exactly that *if* you ask for it:
result<T> function() { result<T> r(empty);
// do things that put something into r
return r; }
Sure, but explicitly asking for it correlates negatively with making the logic error of not overwriting it, and there are also C-style arrays to consider.