parameter_types_fail.cpp 510 B

12345678910111213141516171819
  1. // (C) Copyright Tobias Schwinger
  2. //
  3. // Use modification and distribution are subject to the boost Software License,
  4. // Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).
  5. //------------------------------------------------------------------------------
  6. #include <boost/function_types/parameter_types.hpp>
  7. namespace ft = boost::function_types;
  8. class C;
  9. typedef ft::parameter_types<C>::type error_1;
  10. typedef ft::parameter_types<char>::type error_2;
  11. typedef ft::parameter_types<void>::type error_3;