Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:30:41

0001 
0002 //  (C) Copyright Matthias Troyerk 2006.
0003 //  Use, modification and distribution are subject to the Boost Software License,
0004 //  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0005 //  http://www.boost.org/LICENSE_1_0.txt).
0006 //
0007 //  See http://www.boost.org/libs/type_traits for most recent version including documentation.
0008 
0009 #ifndef BOOST_DETAIL_HAS_DEFAULT_CONSTRUCTOR_HPP_INCLUDED
0010 #define BOOST_DETAIL_HAS_DEFAULT_CONSTRUCTOR_HPP_INCLUDED
0011 
0012 #include <boost/type_traits/has_trivial_constructor.hpp>
0013 
0014 namespace boost { namespace detail {
0015 
0016 /// type trait to check for a default constructor
0017 ///
0018 /// The default implementation just checks for a trivial constructor.
0019 /// Using some compiler magic it might be possible to provide a better default
0020 
0021 template <class T>
0022 struct has_default_constructor
0023  : public has_trivial_constructor<T>
0024 {};
0025 
0026 } } // namespace boost::detail
0027 
0028 
0029 #endif // BOOST_DETAIL_HAS_DEFAULT_CONSTRUCTOR_HPP_INCLUDED