ctti_register_class.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) Antony Polukhin, 2013-2014.
3 //
4 //
5 // Distributed under the Boost Software License, Version 1.0. (See accompanying
6 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 //
8 
9 #ifndef BOOST_TYPE_INDEX_CTTI_REGISTER_CLASS_HPP
10 #define BOOST_TYPE_INDEX_CTTI_REGISTER_CLASS_HPP
11 
15 
17 
18 #ifdef BOOST_HAS_PRAGMA_ONCE
19 # pragma once
20 #endif
21 
22 namespace boost { namespace typeindex { namespace detail {
23 
24 template <class T>
26  return ctti_construct<T>();
27 }
28 
29 }}} // namespace boost::typeindex::detail
30 
32 #define BOOST_TYPE_INDEX_REGISTER_CLASS \
33  virtual const boost::typeindex::detail::ctti_data& boost_type_index_type_id_runtime_() const BOOST_NOEXCEPT { \
34  return boost::typeindex::detail::ctti_construct_typeid_ref(this); \
35  } \
36 
37 
39 #endif // BOOST_TYPE_INDEX_CTTI_REGISTER_CLASS_HPP
40 
T
T
Definition: mem_fn_cc.hpp:25
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
boost::typeindex::detail::ctti_data
Definition: ctti_type_index.hpp:59
boost::typeindex::detail::ctti_construct_typeid_ref
const ctti_data & ctti_construct_typeid_ref(const T *) BOOST_NOEXCEPT
Definition: ctti_register_class.hpp:25
BOOST_NOEXCEPT
#define BOOST_NOEXCEPT
Definition: suffix.hpp:938
ctti_type_index.hpp
Contains boost::typeindex::ctti_type_index class that is constexpr if C++14 constexpr is supported by...


sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:38:10