function_arity_fail.cpp 504 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/function_arity.hpp>
  7. namespace ft = boost::function_types;
  8. class C;
  9. typedef ft::function_arity<C>::type error_1;
  10. typedef ft::function_arity<int>::type error_2;
  11. typedef ft::function_arity<void>::type error_3;