On Sun, Jan 23, 2011 at 3:48 PM, James Pike <[email protected]> wrote:

> I sent you an e-mail about how to get rid of the (*).
>

Hi! i just saw it, but the code was already out the door at that point. In
my initial experimentation i couldn't get the proper templates to be
selected if i omitted the (*). Adding it solved my problem and didn't seem
to cause others, so i stuck with it. i will try to go back and get rid of
it, but if i can't do that without a rewrite then i don't mind living with
the 3 extra characters.


> Also I think using a function pointer template and then converting this
> (based on the already known class) would be much cleaner (and shorter) than
> the way you directly pass member function template arguments:
>
> e.g. <MyType, int MyType::*(int, int), &MyType::memfunc>
> v.s.  <MyType, int (int, int), &MyType::memfunc>
>

Doh! i didn't realize i could get away with that. Time to go back to
experimenting...

Thanks again, James!

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to