I have a "big" C++ project where classes inherit from several classes...
In one class I have:
std::atomic<bool> myVariable;
And the compilation is ok and it works properly, but this file doesn't #include <atomic>
.
Is there a way of printing which class or file actually included atomic
?
I know I could search for it using the IDE's tools or even grep
on the project. But I'm wondering if it can be done inside the program.
Aucun commentaire:
Enregistrer un commentaire