[eigen] Forward declarations

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

Hi List,

I'm currently integrating a library that uses Eigen vectors/matrices
in its API into VTK, and I have a quick question: Is it possible to
forward-declare Eigen::Matrix? The library (OpenQube
http://github.com/cryos/openqube) currently includes Eigen/Core in
it's headers, but I'd like to replace these includes with forward
declarations so that I wouldn't have to add Eigen as a dependency for

I've tried doing this myself, but it looks like the last three
template arguments are dependent on compiler options. Is there a trick
to forward declaring this class?



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/