2 Dec
2014
2 Dec
'14
6:01 p.m.
On 2014-12-02 18:46, Stephan T. Lavavej wrote:
[Bo Persson]
The compiler has an __is_nothrow_assignable() built-in, which seems usable here.
Yeah, that's what VC's STL uses. ... The compiler hooks are undocumented, but because the STL uses them, Boost can use them too. Please report any bugs you encounter so both libraries can benefit. (The compiler team has been fixing several reported bugs in the hooks; 2015 RTM will report more accurate answers than ever before.)
Some of them are documented (or at least listed) by Clang, when they try to be compatible with other compilers. See http://clang.llvm.org/docs/LanguageExtensions.html#checks-for-type-trait-pri... Bo Persson