epoc32/include/stdapis/boost/ptr_container/exception.hpp
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/stdapis/boost/ptr_container/exception.hpp	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,58 +0,0 @@
     1.4 -//
     1.5 -// Boost.Pointer Container
     1.6 -//
     1.7 -//  Copyright Thorsten Ottosen 2003-2005. Use, modification and
     1.8 -//  distribution is subject to the Boost Software License, Version
     1.9 -//  1.0. (See accompanying file LICENSE_1_0.txt or copy at
    1.10 -//  http://www.boost.org/LICENSE_1_0.txt)
    1.11 -//
    1.12 -// For more information, see http://www.boost.org/libs/ptr_container/
    1.13 -//
    1.14 -
    1.15 -#ifndef BOOST_PTR_CONTAINER_EXCEPTION_HPP
    1.16 -#define BOOST_PTR_CONTAINER_EXCEPTION_HPP
    1.17 -
    1.18 -#if defined(_MSC_VER) && (_MSC_VER >= 1200)
    1.19 -# pragma once
    1.20 -#endif
    1.21 -
    1.22 -#include <exception>
    1.23 -
    1.24 -namespace boost
    1.25 -{
    1.26 -    class bad_ptr_container_operation : public std::exception
    1.27 -    {
    1.28 -        const char* what_;
    1.29 -    public:
    1.30 -        bad_ptr_container_operation( const char* what ) : what_( what )
    1.31 -        { }
    1.32 -        
    1.33 -        virtual const char* what() const throw()
    1.34 -        {
    1.35 -            return what_;
    1.36 -        }
    1.37 -    };
    1.38 -
    1.39 -
    1.40 -    
    1.41 -    class bad_index : public bad_ptr_container_operation
    1.42 -    {
    1.43 -    public:
    1.44 -        bad_index( const char* what ) : bad_ptr_container_operation( what )
    1.45 -        { }
    1.46 -    };
    1.47 -
    1.48 -
    1.49 -
    1.50 -    class bad_pointer : public bad_ptr_container_operation
    1.51 -    {
    1.52 -    public:
    1.53 -        bad_pointer() : bad_ptr_container_operation( "Null pointer not allowed in a pointer container!" )
    1.54 -        { }
    1.55 -        
    1.56 -        bad_pointer( const char* text ) : bad_ptr_container_operation( text )
    1.57 -        { }
    1.58 -    };
    1.59 -}
    1.60 -
    1.61 -#endif