Boost logo

Boost :

From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2003-03-15 22:43:30


Larry Evans wrote:

[...]

>>> It's pretty good. "ip_assign_op_switch" is faster than
>>> "ip_offset_iterator" but must be explicit?
>>>
> I was afraid of that(as indicated in 6.2.2 of the .html file);
> however, ip_offset_iterator
> is more "robust" (as indicated in 6.2.3 item 2). Maybe some boost
> template guru's
> could figure a way to hack a "virtual template member function" as
> mentioned in
> item 4 of 6.1.2.

A "virtual template member function". It looks like another virtual table
will have to be gradually constructed at compile time, just like what I did
last year with ptr<T, complex_tree>:
http://groups.yahoo.com/group/boost/files/ptr/ptr.hpp.old. The table could
return the address of the template member function given some class X and
template parameter Y.

Philippe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk