You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: