
3 Apr
2008
3 Apr
'08
5:45 p.m.
shunsuke wrote:
Though Eric states that even remove_cv_ref makes compiling slower, it's worth a try.
There is a context to that statement. Proto is used to build TMP-heavy libraries, and in normal operation causes recursive template instantiations -- lots of them. If I can save one template instantiation when calculating the return type of a transform, it's a big win because that savings get multiplied out and becomes measurable. That doesn't appear to be the case here, does it? Have you benchmarked compile times? -- Eric Niebler Boost Consulting www.boost-consulting.com