annotate DEPENDENCIES/generic/include/boost/detail/has_default_constructor.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1
Chris@16 2 // (C) Copyright Matthias Troyerk 2006.
Chris@16 3 // Use, modification and distribution are subject to the Boost Software License,
Chris@16 4 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 5 // http://www.boost.org/LICENSE_1_0.txt).
Chris@16 6 //
Chris@16 7 // See http://www.boost.org/libs/type_traits for most recent version including documentation.
Chris@16 8
Chris@16 9 #ifndef BOOST_DETAIL_HAS_DEFAULT_CONSTRUCTOR_HPP_INCLUDED
Chris@16 10 #define BOOST_DETAIL_HAS_DEFAULT_CONSTRUCTOR_HPP_INCLUDED
Chris@16 11
Chris@16 12 #include <boost/type_traits/has_trivial_constructor.hpp>
Chris@16 13
Chris@16 14 namespace boost { namespace detail {
Chris@16 15
Chris@16 16 /// type trait to check for a default constructor
Chris@16 17 ///
Chris@16 18 /// The default implementation just checks for a trivial constructor.
Chris@16 19 /// Using some compiler magic it might be possible to provide a better default
Chris@16 20
Chris@16 21 template <class T>
Chris@16 22 struct has_default_constructor
Chris@16 23 : public has_trivial_constructor<T>
Chris@16 24 {};
Chris@16 25
Chris@16 26 } } // namespace boost::detail
Chris@16 27
Chris@16 28
Chris@16 29 #endif // BOOST_DETAIL_HAS_DEFAULT_CONSTRUCTOR_HPP_INCLUDED