is_default_constructible_fail.cpp 401 B

123456789101112131415
  1. // (C) Copyright John Maddock 2017.
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. # include <boost/type_traits/is_default_constructible.hpp>
  6. #include "../test.hpp"
  7. int main()
  8. {
  9. return boost::is_default_constructible<incomplete_type>::value;
  10. }