123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- #ifndef BOOST_SCOPE_DETAIL_IS_NONNULL_DEFAULT_CONSTRUCTIBLE_HPP_INCLUDED_
- #define BOOST_SCOPE_DETAIL_IS_NONNULL_DEFAULT_CONSTRUCTIBLE_HPP_INCLUDED_
- #include <type_traits>
- #include <boost/scope/detail/config.hpp>
- #include <boost/scope/detail/header.hpp>
- #ifdef BOOST_HAS_PRAGMA_ONCE
- #pragma once
- #endif
- namespace boost {
- namespace scope {
- namespace detail {
- template< typename T >
- struct is_nonnull_default_constructible :
- public std::is_default_constructible< T >
- {
- };
- template< typename T >
- struct is_nonnull_default_constructible< T* > :
- public std::false_type
- {
- };
- template< typename T >
- struct is_nothrow_nonnull_default_constructible :
- public std::is_nothrow_default_constructible< T >
- {
- };
- template< typename T >
- struct is_nothrow_nonnull_default_constructible< T* > :
- public std::false_type
- {
- };
- }
- }
- }
- #include <boost/scope/detail/footer.hpp>
- #endif
|