Registered Member
|
Following seems to be a bug in Visitor.h, cannot return value on void function
template<typename Visitor, typename Derived> struct visitor_impl<Visitor, Derived, 1> { inline static void run(const Derived &mat, Visitor& visitor) { return visitor.init(mat.coeff(0, 0), 0, 0); } }; |
Moderator
|
visitor.init() returns void, so that's perfectly correct c++.
|
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]