1234567891011121314151617181920212223242526272829303132333435363738 |
- #ifndef BOOST_IMPLICIT_CAST_DWA200356_HPP
- #define BOOST_IMPLICIT_CAST_DWA200356_HPP
- #include <boost/config.hpp>
- #ifdef BOOST_HAS_PRAGMA_ONCE
- # pragma once
- #endif
- namespace boost {
- namespace detail {
- template<class T> struct icast_identity
- {
- typedef T type;
- };
- }
- template <typename T>
- constexpr T implicit_cast (typename boost::detail::icast_identity<T>::type x) {
- return x;
- }
- }
- #endif
|