|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-10-13 16:22:12
Jason House <jhouse_at_[hidden]> writes:
> David Abrahams wrote:
>
>> Mat Marcus <mat-boost_at_[hidden]> writes:
>>>In the runtime world we have inlining and as a result I'm used to
>>>waving my hands and saying that the generic style doesn't incur
>>>extra overhead on a "reasonable compiler". I suppose there's not
>>> really an analog in the compile time world.
>> Nope, not until we have a meta-compilation phase. The fact that you
>> only pay once for instantiation is close.
>
>
> I'm curious as to what you're thinking about. What do you mean by a
> meta-compilation phase and, more importantly, what do you expect it to
> achieve?
Compilation of metafunctions down to some kind of object code would
allow inlining, and naturally, faster template instantiation.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk