os/ossrv/ossrv_pub/boost_apis/boost/assign/assignment_exception.hpp
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/assign/assignment_exception.hpp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,43 @@
     1.4 +// Boost.Assign library
     1.5 +//
     1.6 +//  Copyright Thorsten Ottosen 2003-2004. Use, modification and
     1.7 +//  distribution is subject to the Boost Software License, Version
     1.8 +//  1.0. (See accompanying file LICENSE_1_0.txt or copy at
     1.9 +//  http://www.boost.org/LICENSE_1_0.txt)
    1.10 +//
    1.11 +// For more information, see http://www.boost.org/libs/assign/
    1.12 +//  
    1.13 + 
    1.14 +
    1.15 +#ifndef BOOST_ASSIGN_ASSIGNMENT_EXCEPTION_HPP
    1.16 +#define BOOST_ASSIGN_ASSIGNMENT_EXCEPTION_HPP
    1.17 +
    1.18 +#if defined(_MSC_VER) && (_MSC_VER >= 1020)
    1.19 +# pragma once
    1.20 +#endif
    1.21 +
    1.22 +#include <exception>
    1.23 +
    1.24 +namespace boost
    1.25 +{    
    1.26 +    namespace assign
    1.27 +    {
    1.28 +        class assignment_exception : public std::exception
    1.29 +        {
    1.30 +        public:
    1.31 +            assignment_exception( const char* what ) 
    1.32 +            : what_( what )
    1.33 +            { }
    1.34 +        
    1.35 +            virtual const char* what() const throw()
    1.36 +            {
    1.37 +                return what_;
    1.38 +            }
    1.39 +        
    1.40 +        private:
    1.41 +                const char* what_;
    1.42 +        };
    1.43 +    }
    1.44 +}
    1.45 +
    1.46 +#endif