File indexing completed on 2025-01-18 09:29:12
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef BOOST_ASSIGN_ASSIGNMENT_EXCEPTION_HPP
0013 #define BOOST_ASSIGN_ASSIGNMENT_EXCEPTION_HPP
0014
0015 #include <boost/config.hpp>
0016 #include <exception>
0017
0018 #if defined(BOOST_HAS_PRAGMA_ONCE)
0019 # pragma once
0020 #endif
0021
0022 namespace boost
0023 {
0024 namespace assign
0025 {
0026 class assignment_exception : public std::exception
0027 {
0028 public:
0029 assignment_exception( const char* _what )
0030 : what_( _what )
0031 { }
0032
0033 virtual const char* what() const BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE
0034 {
0035 return what_;
0036 }
0037
0038 private:
0039 const char* what_;
0040 };
0041 }
0042 }
0043
0044 #endif