Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78498 - branches/release/libs/multi_array/test
From: garcia_at_[hidden]
Date: 2012-05-17 11:23:39


Author: garcia
Date: 2012-05-17 11:23:38 EDT (Thu, 17 May 2012)
New Revision: 78498
URL: http://svn.boost.org/trac/boost/changeset/78498

Log:
Specialize BOOST_CHECK_MESSAGE handler now that array.cpp uses it.

Text files modified:
   branches/release/libs/multi_array/test/assert.cpp | 8 ++++++++
   1 files changed, 8 insertions(+), 0 deletions(-)

Modified: branches/release/libs/multi_array/test/assert.cpp
==============================================================================
--- branches/release/libs/multi_array/test/assert.cpp (original)
+++ branches/release/libs/multi_array/test/assert.cpp 2012-05-17 11:23:38 EDT (Thu, 17 May 2012)
@@ -23,10 +23,18 @@
 #include <stdexcept>
 
 namespace boost {
+
   void assertion_failed(char const* expr, char const* function,
                         char const* file, long line) {
     throw std::runtime_error(expr);
   }
+
+ void assertion_failed_msg(char const * expr, char const * msg,
+ char const * function,
+ char const * file, long line) {
+ throw std::runtime_error(msg);
+ }
+
 } // namespace boost
 
 using namespace boost;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk