~ubuntu-branches/ubuntu/trusty/aegisub/trusty

« back to all changes in this revision

Viewing changes to src/boost/throw_exception.hpp

  • Committer: Package Import Robot
  • Author(s): Sebastian Reichel
  • Date: 2012-03-16 22:58:00 UTC
  • Revision ID: package-import@ubuntu.com-20120316225800-yfb8h9e5n04rk46a
Tags: upstream-2.1.9
ImportĀ upstreamĀ versionĀ 2.1.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED
 
2
#define BOOST_THROW_EXCEPTION_HPP_INCLUDED
 
3
 
 
4
// MS compatible compilers support #pragma once
 
5
 
 
6
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
 
7
# pragma once
 
8
#endif
 
9
 
 
10
//
 
11
//  boost/throw_exception.hpp
 
12
//
 
13
//  Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
 
14
//
 
15
// Distributed under the Boost Software License, Version 1.0. (See
 
16
// accompanying file LICENSE_1_0.txt or copy at
 
17
// http://www.boost.org/LICENSE_1_0.txt)
 
18
//
 
19
//  http://www.boost.org/libs/utility/throw_exception.html
 
20
//
 
21
 
 
22
 
 
23
namespace boost
 
24
{
 
25
 
 
26
template<class E> inline void throw_exception(E const & e)
 
27
{
 
28
    throw e;
 
29
}
 
30
 
 
31
 
 
32
} // namespace boost
 
33
 
 
34
#endif // #ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED