summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-03-01 20:57:03 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-03-01 21:25:56 (GMT)
commit182dc1c6cbed6ac2bbe297f856650367e0f12ba7 (patch)
treef9f683e6688683eed559f37d2dfa2ed0966a89c1 /3rdParty/Boost/src/boost/assign/assignment_exception.hpp
parent48389cafdbf211d70fa56f453c6d3b652482a139 (diff)
downloadswift-contrib-182dc1c6cbed6ac2bbe297f856650367e0f12ba7.zip
swift-contrib-182dc1c6cbed6ac2bbe297f856650367e0f12ba7.tar.bz2
Introduce Lua::Value helper.
Diffstat (limited to '3rdParty/Boost/src/boost/assign/assignment_exception.hpp')
-rw-r--r--3rdParty/Boost/src/boost/assign/assignment_exception.hpp43
1 files changed, 43 insertions, 0 deletions
diff --git a/3rdParty/Boost/src/boost/assign/assignment_exception.hpp b/3rdParty/Boost/src/boost/assign/assignment_exception.hpp
new file mode 100644
index 0000000..5079c3a
--- /dev/null
+++ b/3rdParty/Boost/src/boost/assign/assignment_exception.hpp
@@ -0,0 +1,43 @@
+// Boost.Assign library
+//
+// Copyright Thorsten Ottosen 2003-2004. Use, modification and
+// distribution is subject to 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)
+//
+// For more information, see http://www.boost.org/libs/assign/
+//
+
+
+#ifndef BOOST_ASSIGN_ASSIGNMENT_EXCEPTION_HPP
+#define BOOST_ASSIGN_ASSIGNMENT_EXCEPTION_HPP
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+# pragma once
+#endif
+
+#include <exception>
+
+namespace boost
+{
+ namespace assign
+ {
+ class assignment_exception : public std::exception
+ {
+ public:
+ assignment_exception( const char* _what )
+ : what_( _what )
+ { }
+
+ virtual const char* what() const throw()
+ {
+ return what_;
+ }
+
+ private:
+ const char* what_;
+ };
+ }
+}
+
+#endif