Re[2]: bool operator < (T _Right) if (X < 0) и if ( 0 < X)
От: Аноним  
Дата: 09.04.07 09:19
Оценка:
Здравствуйте, Smal, Вы писали:

S>Определить внешние операторы.

S>
S>bool operator < (int i, T _Right);
S>bool operator > (int i, T _Right);
S>...
S>

Определил!
friend bool operator < (const int _Left, const nullvalue &_Right);

все-равно ругается!
error C2679: binary '<' : no operator found which takes a right-hand operand of
type 'nullvalue<T>' (or there is no acceptable conversion)
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.