Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:29:12

0001 // Boost.Assign library
0002 //
0003 //  Copyright Thorsten Ottosen 2003-2004. Use, modification and
0004 //  distribution is subject to the Boost Software License, Version
0005 //  1.0. (See accompanying file LICENSE_1_0.txt or copy at
0006 //  http://www.boost.org/LICENSE_1_0.txt)
0007 //
0008 // For more information, see http://www.boost.org/libs/assign/
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