RSSAmplifier

Jacques Heunis · Aug 28, 2021

Hidden friends with compile-time benefits

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Recently I’ve been thinking about how I could reduce the compilation time of my C++ code (aren’t we all). I also recently saw some people discussing the so-called “hidden friend” idiom in C++ and its various benefits. One of the claimed benefits of hidden friends is that they simplify the compiler’s job, speeding up compilation. I thought I’d investigate.

Read on jacquesheunis.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.