Sha256: df4fe673c8729d36b0aa344d3817ebb2363276b5b68123c0b6582369e6b28a19
Contents?: true
Size: 738 Bytes
Versions: 16
Compression:
Stored size: 738 Bytes
Contents
// // Copyright (c) 2012 Artyom Beilis (Tonkikh) // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_NOWIDE_LIB_TEST_H_INCLUDED #define BOOST_NOWIDE_LIB_TEST_H_INCLUDED #include <stdexcept> #include <sstream> #define TEST(x) do { \ if(x) \ break; \ std::ostringstream ss; \ ss<< "Error " #x " in " << __FILE__ \ <<':'<<__LINE__<<" "<< __FUNCTION__; \ throw std::runtime_error(ss.str()); \ }while(0) #endif /// // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
Version data entries
16 entries across 16 versions & 2 rubygems