Skip to content
Snippets Groups Projects
Commit 6e6dd4be authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Extensive use of forward class declaration.

Basically I replaced all objects included in other objects with references, so as
to eliminate the need to include the corresponding header file. In this manner the
entanglement of compilation is greatly reduced.
Forward class declaration is now used everywhere excepted for:
* cases where it is impossible due to inline functions
  (for efficiency or because they are templates)
* cases where it is impossible due to inheritance
* small objects of fixed size such as Vector/Tensor/AtomNumber/Units/Pbc
* classes of std:: namespace (it is not possible to forward-declare them).
parent 626833f8
No related branches found
No related tags found
Loading
Showing with 53 additions and 17 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment