retard <[email protected]> wrote:
Does the new system allow overriding only some binary operations and not all of them at once?
struct S {
S opBinary( string op )( S rhs ) if ( op == "+" ) {
// Do stuff
}
}
I thought generic member functions were non-virtual?
Andrei Alexandrescu <[email protected]> wrote:
3. The template functions can't be virtual (fixable with a forwarding thunk written once and for all).
-- Simen
