|
@@ -61,6 +61,12 @@ extern bool force_throw_on_new;
|
|
|
|
|
|
/// The allocation size that triggers an exception in the special operator new
|
|
|
///
|
|
|
+/// This is the exact size that causes an exception to be thrown;
|
|
|
+/// for example, if it is set to 100, an attempt of allocating 100 bytes
|
|
|
+/// will result in an exception, but allocation attempt for 101 bytes won't
|
|
|
+/// (unless, of course, memory is really exhausted and allocation really
|
|
|
+/// fails).
|
|
|
+///
|
|
|
/// The default value is 0. The value of this variable has no meaning
|
|
|
/// unless the use of the special operator is enabled at build time and
|
|
|
/// via \c force_throw_on_new.
|