From 9c7099c69362c7c5ea18b42602901b4fd469f60d Mon Sep 17 00:00:00 2001
From: Eric Friedman
Without
- some (as yet unspecified) help from the compiler, has_nothrow_destructor
-
will never report that a class or struct has a non-throwing
- destructor; this is always safe, if possibly sub-optimal.
has_nothrow_copy
+
will never report that a class or struct has a non-throwing copy
+ constructor; this is always safe, if possibly sub-optimal.
If the compiler does not support partial-specialization of class templates, then this template can not be used with function types.
@@ -588,7 +588,7 @@ has. assignment operator.Without
- some (as yet unspecified) help from the compiler, has_nothrow_destructor
+ some (as yet unspecified) help from the compiler,
has_nothrow_assign
will never report that a class or struct has a non-throwing
assignment operator; this is always safe, if possibly sub-optimal.
If the compiler does not support partial-specialization