[eigen] Forward declarations |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] Forward declarations
- From: David Lonie <loniedavid@xxxxxxxxx>
- Date: Mon, 18 Jul 2011 10:09:27 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=VNBHykt8zF5lfknrxIuBgs4eMz5LsGTs55t9AUK287Y=; b=XxRax3jJA0+mmaHZzklTfvV8uhnVO98kw/p44HdoLhfI9+WaPiAI5QHqfv9fdiK9Wq YW2ECDECKo/YmEp9x31ANsYcOqpFOQtxPMBBUFGNy4/7cRW69+QDrGZgafn/DSA/GYa1 FDxAIT/gJXfz56pESF5JVo+4UdFj/6ugH05z8=
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
VTK.
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?
Thanks,
Dave