|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-10-15 19:45:29
"Robert Ramey" <ramey_at_[hidden]> writes:
>> Why should anyone still use the other version? To save the compile
>> time for 5 lines of code?
>
> LOL - believe me, someone will want to do it differently. I can't say
> how or why - but believe me it will happen. The adaptor approach lets
> everyone add their own thing and lets everyone else pick and choose
> which combination of things they want to add.
IIUC, you currently have some default implmentation that's 10x slower
than the one Matthias is proposing. Is there any good reason that the
fast implementation shouldn't be the default?
-- 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