bad_alloc_throwing_policy Struct Reference
[Utility Library]

#include <mfcstl/util/memory_exception_translation_policies.hpp>

List of all members.


Detailed Description

Memory exception translation policy that ensures std::bad_alloc is the thrown type in all cases.

Static Public Member Functions

static void handle (CMemoryException *)
 Translates a CMemoryException* into a std::bad_alloc&.
static void handle (mfcstl_ns_qual_std(bad_alloc)&)
 Translates a std::bad_alloc& into a std::bad_alloc&, by simply rethrowing via a throw; statement

Member Function Documentation

static void handle ( CMemoryException *   )  [inline, static]

Translates a CMemoryException* into a std::bad_alloc&.

References mfcstl_ns_qual_std.

static void handle ( mfcstl_ns_qual_std(bad_alloc)&   )  [inline, static]

Translates a std::bad_alloc& into a std::bad_alloc&, by simply rethrowing via a throw; statement


The documentation for this struct was generated from the following file:

Generated on Thu Jun 10 08:58:32 2010 for STLSoft by  doxygen 1.5.6