Remix.run Logo
direwolf20 2 hours ago

constexpr means running code at compile time. template means duplicating lots of code lots of times. these are not cheap.

jeffbee 2 hours ago | parent [-]

Yeah this is the very first time I am hearing that templates are "extremely cheap". Template instantiation is pretty much where my project spends all of its compilation time.