result_type_fail.cpp 494 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/result_type.hpp>
  7. namespace ft = boost::function_types;
  8. class C;
  9. typedef ft::result_type<C>::type error_1;
  10. typedef ft::result_type<char>::type error_2;
  11. typedef ft::result_type<void>::type error_3;