Question
What is #pragma once used for?
I have found the following code when refactoring:
#ifndef TARGET_OS_LINUX
#pragma once
#endif
Can anyone help me understand #pragma once
?
What, when, where, and why is it used? Do you have an example?
45 12393
45