/*************************************************************************** * * Copyright (c) 2008 Baidu.com, Inc. All Rights Reserved * $Id: test_bsl_exception.cpp,v 1.8 2009/10/14 08:24:59 chenxm Exp $ * **************************************************************************/ /** * @file test_bsl_exception.cpp * @author chenxm(chenxiaoming@baidu.com) * @date 2008/12/10 10:56:44 * @version $Revision: 1.8 $ * @brief * **/ #include "bsl_exception.h" #include #include //for std::bad_alloc @ g++ 2.96 #include #include #define see(x) do{ \ std::cerr<<__FILE__<<":"<<__LINE__<<": " <<(#x)<<" = "<<(x)<<" ("<