Quantcast
Channel: Active questions tagged header - Stack Overflow
Viewing all articles
Browse latest Browse all 647

Should I use #pragma once directive in a hpp header, knowing well it contains some definitions? [duplicate]

$
0
0

I know there is use case scenario for '#pragma once' in classic .h headers containing only declarations. But I wonder: what about .hpp files which most of the time contain many definitions. Should I still use the directive?


Viewing all articles
Browse latest Browse all 647

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>