LoginSignup
0
0

More than 5 years have passed since last update.

[c++] boost::functionでincomplete typeエラーが起きる

Posted at

boost::functionはデフォルトで10個までしか引数をサポートしていない。
増やすには例えば:

#define BOOST_FUNCTION_NUM_ARGS 11
#include <boost/function/detail/maybe_include.hpp>
#undef BOOST_FUNCTION_NUM_ARGS
#define BOOST_FUNCTION_NUM_ARGS 12
#include <boost/function/detail/maybe_include.hpp>
#undef BOOST_FUNCTION_NUM_ARGS
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0