does anyone actually use header guards anymore in personal c++ projects lol
#cpp #programming
@deadbeef Only to prevent errors about duplication of entities at either compile or link time.
@rmerriam "#pragma once" directive seems to be supported by most compilers nowadays. I've never had to use manual include guards, though again, none of the projects I've worked on are really that big.
@rmerriam Could be some edge cases where #pragma once doesn't work.
@rmerriam (Either that or it's not supported)
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.
@rmerriam (Either that or it's not supported)