Make headers self-containing
@chhtz
Submitted by Christoph HertzbergAssigned to Nobody
Link to original bugzilla bug (#339)
Version: 3.0
Description
I would very much appreciate if Eigen-headers would be self containing, i.e.
- Have each of them declare the appropriate namespaces.
- Make each of them include the necessary dependencies.
Most important advantage for me would be to simplify browsing the code, currently my IDE (eclipse CDT) is (almost) perfectly capable to do syntax completion with Eigen types in my own code, however as soon as I want to look into the internals of a method, I have to do a lot of guessing in which header the actual implementation might be. The other option to find that out would be debugging in O0-mode, however, at some point you can easily get lost there as well.
If at least the namespace declarations could be done globally, I could locally insert the necessary dependencies on a need-to-work basis (this obviously does not work currently, especially not with external libraries).
This would also solve bug #269 (closed) at almost no cost.