Skip to content
GitLab
    • Why GitLab
    • Pricing
    • Contact Sales
    • Explore
  • Why GitLab
  • Pricing
  • Contact Sales
  • Explore
  • Sign in
  • Get free trial
  • libeigenlibeigen
  • eigeneigen
  • Issues
  • #339

Make headers self-containing

Submitted by Christoph Hertzberg @chhtz

Assigned 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.

Blocking

#138 #728 #269 (closed)

Edited Dec 05, 2019 by Eigen Bugzilla
Assignee
Assign to
Time tracking