]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/config/test/boost_no_typeid.ipp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / config / test / boost_no_typeid.ipp
1 // (C) Copyright Peter Dimov 2007.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 // See http://www.boost.org/libs/config for most recent version.
7
8 // MACRO: BOOST_NO_TYPEID
9 // TITLE: typeid unavailable
10 // DESCRIPTION: The compiler does not support typeid in this mode
11
12 #include <typeinfo>
13
14 namespace boost_no_typeid
15 {
16
17 int test()
18 {
19 (void)typeid(int);
20 return 0;
21 }
22
23 }
24