Warning, file /include/boost/implicit_cast.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006 #ifndef BOOST_IMPLICIT_CAST_DWA200356_HPP
0007 #define BOOST_IMPLICIT_CAST_DWA200356_HPP
0008
0009 #include <boost/config.hpp>
0010 #ifdef BOOST_HAS_PRAGMA_ONCE
0011 # pragma once
0012 #endif
0013
0014 namespace boost {
0015
0016 namespace detail {
0017
0018 template<class T> struct icast_identity
0019 {
0020 using type = T;
0021 };
0022
0023 }
0024
0025
0026
0027
0028
0029
0030 template <typename T>
0031 constexpr T implicit_cast (typename boost::detail::icast_identity<T>::type x) {
0032 return x;
0033 }
0034
0035 }
0036
0037
0038 #endif