12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- #ifndef BOOST_LOG_DETAIL_COPY_CV_HPP_INCLUDED_
- #define BOOST_LOG_DETAIL_COPY_CV_HPP_INCLUDED_
- #include <boost/log/detail/config.hpp>
- #include <boost/log/detail/header.hpp>
- #ifdef BOOST_HAS_PRAGMA_ONCE
- #pragma once
- #endif
- namespace boost {
- BOOST_LOG_OPEN_NAMESPACE
- namespace aux {
- template< typename FromT, typename ToT >
- struct copy_cv
- {
- typedef ToT type;
- };
- template< typename FromT, typename ToT >
- struct copy_cv< const FromT, ToT >
- {
- typedef const ToT type;
- };
- template< typename FromT, typename ToT >
- struct copy_cv< volatile FromT, ToT >
- {
- typedef volatile ToT type;
- };
- template< typename FromT, typename ToT >
- struct copy_cv< const volatile FromT, ToT >
- {
- typedef const volatile ToT type;
- };
- }
- BOOST_LOG_CLOSE_NAMESPACE
- }
- #include <boost/log/detail/footer.hpp>
- #endif
|