Em qua 05 fev 2014, às 10:37:27, Robert Knight escreveu:
> > The idea was to silently return a default-constructed type.
> 
> I'm not keen on that. Aside from adding extra restrictions to the
> types that the class can be used with as you mention,
> it runs the much more severe risk of masking serious bugs.

No way around it if we exclude exceptions.

We need to return something.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to