On 08/02/2014 08:04 AM, eles wrote:
On Saturday, 2 August 2014 at 06:01:52 UTC, Timon Gehr wrote:
On 08/02/2014 07:56 AM, eles wrote:
On Friday, 1 August 2014 at 20:22:39 UTC, Tofu Ninja wrote:
On Friday, 1 August 2014 at 20:16:29 UTC, eles wrote:
It's part of the language standard. The compiler can make as much use
of it as possible while still conforming to the spec.
If you put it like that, then you could put *everything* into the
library. Classes were once defined as a layer over C and they could be
defined as standard. Still, the concept went into the compiler.
What will the optimizer do if you don't link against the standard library?
IIRC there are bits of the standard that allow the optimizer to assume
that you will, but don't take my word for it.