]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/exception/include/boost/exception/errinfo_type_info_name.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / exception / include / boost / exception / errinfo_type_info_name.hpp
1 //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
2
3 //Distributed under the Boost Software License, Version 1.0. (See accompanying
4 //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 #ifndef UUID_0E11109E6C1311DEB7EA649255D89593
7 #define UUID_0E11109E6C1311DEB7EA649255D89593
8
9 #include <string>
10
11 namespace
12 boost
13 {
14 template <class Tag,class T> class error_info;
15
16 //Usage hint:
17 //BOOST_THROW_EXCEPTION(
18 // bad_type() <<
19 // errinfo_type_info_name(typeid(x).name()) );
20 typedef error_info<struct errinfo_type_info_name_,std::string> errinfo_type_info_name;
21 }
22
23 #endif