LoginSignup
1
1

More than 5 years have passed since last update.

Boost.Pythonでクラスを定義したらwrong number of template argumentsと怒られた話

Posted at
error: wrong number of template arguments (1, should be 4)
.../boost_1_55_0/boost/python/def_visitor.hpp:14:56: error: provided for ‘template<class T, class X1, class X2, class X3> struct boost::python::class_’  

ドキュメントには2個目以降の引数は省略できると書いてあるのに4個必要だと怒られた。

それ #include <boost/python/class.hpp> を忘れてるせいだから〜。残念!

1
1
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
1
1