
10 Dec
2010
10 Dec
'10
9:04 a.m.
1. is there an easy way to get the type of an expression and to pass it to is_convertible
Not in C++03, only in C++0x
2. if not, why not just using the working code I wrote already?
That sounds sensible - I may have misunderstood here - I thought from the comments I saw that you had written your own is_convertible version, but rather it looks like you have some implementation details (functions) that just happen to have a similar name? If so I suggest you leave it as it is - sorry for the confusion on that one! John.