function.cpp 446 B

12345678910
  1. // Copyright (C) 2006 Arkadiy Vertleyb
  2. // Use, modification and distribution is subject to the Boost Software
  3. // License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
  4. #include "test.hpp"
  5. BOOST_STATIC_ASSERT(boost::type_of::test<void()>::value);
  6. BOOST_STATIC_ASSERT(boost::type_of::test<double(bool)>::value);
  7. BOOST_STATIC_ASSERT(boost::type_of::test<void(...)>::value);
  8. BOOST_STATIC_ASSERT(boost::type_of::test<float(int, ...)>::value);