Is it allowed to include a precompiled header into a header file?

412 Views Asked by At

I know what precompiled headers are, but I found nothing about pch-s being included in header files. Can you do that? I tried it and it worked. Does it have some drawbacks?

1

There are 1 best solutions below

0
On BEST ANSWER

You can do that. Just check to see if your compile times actually go down.

This question is similar. stdafx.h to header files