boost::fusion in Expression-inl.h

Issue #153 wontfix
Frank Dellaert created an issue

Some of the code in the functional classes UnaryExpression to TernaryExpression is fairly boilerplate. Can we automatically create these classes when a particular function of the form

T f(A1,A2,...An, boost::optional<Matrix> J1, ... boost::optional<Matrix> Jn)

is given to an Expression constructor? I think boost::fusion, which has amazing things such as invoke and fused could make this happen, and if not that, at least eliminate some of the boilerplate code.

Any fusion dabblers out there? @hannessommer @ptf @mikebosse @amelim ?

Comments (1)

  1. Log in to comment