On quinta-feira, 2 de agosto de 2012 23.57.58, Marc Mutz wrote:
> noexcept(std::declval<Object>().f()) should work.

Unfortunately, while the C++11 compiler support seems to be going fine, the
library support is lagging WAY behind.  Add to that the fact that some
compilers are being used with incompatible Standard Libraries, meaning the
features don't work, even if present. To make it all worse, there are no
library version numbers, so we can't detect them properly.

Exhibit A: MSVC supports initialiser lists, but it doesn't have
<initializer_list>...

Exhibit B: ICC compiling certain GCC headers will cause it to fail to link
complaining about undefined references to functions that should be intrinsics.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to