-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
It's strongly recommended to normally #include
all headers to make a file "work" in that file, instead of assuming that the context will supply them. An example of that is this file:
PCC_Processing_Design/src/lib/PCC_Characterisation/functions/analytical_solutions.h
Line 7 in 23c8e07
std::vector<vector<double>> TJsAnalytics_random(unsigned int HGBnumber, std::vector<tuple<double, double>> &ConfEntropies) { |
Right now, my IDE is complaining that it doesn't know what std::vector
is when it has that file open... because of a missing #include <vector>
at the top of the file.
NB: This issue has been Good Practice in C++ since the 1990s at least.
There are some exceptions to this rule. Your code appears to not be using any of the exceptions.
Metadata
Metadata
Assignees
Labels
No labels