Adobe Source Libraries 1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
typeinfo.hpp
Go to the documentation of this file.
1/*
2 Copyright 2013 Adobe
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5*/
6/**************************************************************************************************/
7
8#ifndef ADOBE_TYPEINFO_HPP
9#define ADOBE_TYPEINFO_HPP
10
11/**************************************************************************************************/
12
13#include <adobe/config.hpp>
14
15#include <string>
16#include <typeinfo>
17
18/**************************************************************************************************/
19
20namespace adobe {
21
22/**************************************************************************************************/
23
33class bad_cast : public std::bad_cast {
34public:
36 bad_cast(const std::type_info& from, const std::type_info& to);
39 virtual ~bad_cast() throw();
47 const char* what() const throw();
48
49private:
50 std::string what_m;
51};
52
53/**************************************************************************************************/
54
55} // namespace adobe
56
57/**************************************************************************************************/
58
59
60#endif
61
62/**************************************************************************************************/
bad_cast(const std::type_info &from, const std::type_info &to)
const char * what() const
bad_cast(const bad_cast &)
virtual ~bad_cast()
bad_cast & operator=(const bad_cast &)
STL namespace.