I wouldn't be surprised if e.g. MSVC didn't perform that optimization since it doesn't have the pure function attribute.
I wouldn't be surprised if e.g. MSVC didn't perform that optimization since it doesn't have the pure function attribute.