cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Do .tcc/.tpp files need headerguards?
Do .tcc/.tpp files need headerguards?
Mar 26, 2022 at 9:52am UTC
jaffe15
(28)
If I understood correctly .tcc/.tpp files should have their includes in the correspnding .h file and aren't included more than once. So I am guessing that they don't need headerguards. Am I wrong?
Mar 26, 2022 at 12:14pm UTC
Peter87
(11235)
That's right. You only need to use header guards for the header files.
Topic archived. No new replies allowed.