source: vendor/nemo/current/NEMOGCM/EXTERNAL/XIOS/extern/boost/include/boost/detail/has_default_constructor.hpp @ 44

Last change on this file since 44 was 44, checked in by cholod, 12 years ago

Load NEMO_TMP into vendor/nemo/current.

File size: 935 bytes
Line 
1
2//  (C) Copyright Matthias Troyerk 2006.
3//  Use, modification and distribution are subject to the Boost Software License,
4//  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5//  http://www.boost.org/LICENSE_1_0.txt).
6//
7//  See http://www.boost.org/libs/type_traits for most recent version including documentation.
8
9#ifndef BOOST_DETAIL_HAS_DEFAULT_CONSTRUCTOR_HPP_INCLUDED
10#define BOOST_DETAIL_HAS_DEFAULT_CONSTRUCTOR_HPP_INCLUDED
11
12#include <boost/type_traits/has_trivial_constructor.hpp>
13
14namespace boost { namespace detail {
15
16/// type trait to check for a default constructor
17///
18/// The default implementation just checks for a trivial constructor.
19/// Using some compiler magic it might be possible to provide a better default
20
21template <class T>
22struct has_default_constructor
23 : public has_trivial_constructor<T>
24{};
25
26} } // namespace boost::detail
27
28
29#endif // BOOST_DETAIL_HAS_DEFAULT_CONSTRUCTOR_HPP_INCLUDED
Note: See TracBrowser for help on using the repository browser.