Steven Schveighoffer wrote: > ... > > I think Nick's point number 2 is that you would have to write the above as: > > void twix(T)(T value) > { > value.invokeMethod("bar"); > value.invokeMethod("bar"); > } > > which would work whether bar was dynamically or statically defined.
So we have to write ALL templated code that calls member functions or accesses properties/fields like this? Because otherwise objects may as well not be able to do this, since it wouldn't play with any templates ever. You have to be joking. > ... > > -Steve