![]() |
Error...
Hi there again ;)
This is my new problem: I've this template: :
template <class T> class TArrayYe, ye... the definitions should be in diferent modules... Anyway, when i do this in the main: :
TArray<int> ar_int;It gives me this error: :
'operator+' not implemented in type 'TArray<int>' for arguments of type 'unsigned int'Why the 'operator+' is needed...??? :confused: Help here, guys... Thanks in advance :cool: |
When I compile it I get
Quote:
Also note that your ++ operators should probably not return a different type, they should be returning the iterator, to be consistant with everyone else. |
Ye... duh... Thanks bro ;)
|
| All times are GMT -5. The time now is 1:09 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC