Compare commits

..

6 Commits

Author SHA1 Message Date
1a100c615a This commit was manufactured by cvs2svn to create tag
'Version_1_33_0'.

[SVN r30532]
2005-08-12 03:25:34 +00:00
460a66a460 This commit was manufactured by cvs2svn to create branch 'RC_1_33_0'.
[SVN r30300]
2005-07-28 18:22:24 +00:00
ae714358ad fixes comeau bug
[SVN r24278]
2004-08-04 05:15:01 +00:00
98c7eb7d68 Converted to Boost Software License, Version 1.0
[SVN r24055]
2004-07-26 00:32:12 +00:00
17f806e8a7 _MSC_VER use clarified.
[SVN r20992]
2003-11-28 15:35:21 +00:00
d1e4951cd5 -Wundef fixes.
[SVN r18788]
2003-06-12 17:09:24 +00:00

View File

@ -1,8 +1,10 @@
#ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED
#define BOOST_THROW_EXCEPTION_HPP_INCLUDED
#if _MSC_VER >= 1020
#pragma once
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
//
@ -10,10 +12,9 @@
//
// Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
//
// Permission to copy, use, modify, sell and distribute this software
// is granted provided this copyright notice appears in all copies.
// This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// 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)
//
// http://www.boost.org/libs/utility/throw_exception.html
//
@ -33,7 +34,7 @@ void throw_exception(std::exception const & e); // user defined
#else
template<class E> void throw_exception(E const & e)
template<class E> inline void throw_exception(E const & e)
{
throw e;
}