Logo AND Algorithmique Numérique Distribuée

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