Re: [Dev-C++] function name conflict
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: DC A <ad...@ho...> - 2007-03-08 13:48:50
|
Per Westermark wrote: >Nothing wrong with using constructors as in: > string a(x); > string b(y); > >Your code will build correctly, if you write: > > string s3 = ::plus(s1,s2); > >You problems is that you got into troubles with the backwards-compatible >work-around: > using std::plus; >in the gcc header files, and needed to specify that you wanted to use your >implementation of plus, and not the implementation already available in >the std namespace. > Thank you very much for solving this problem. That is all I wanted to know. _________________________________________________________________ Your Space. Your Friends. Your Stories. Share your world with Windows Live Spaces. http://spaces.live.com/?mkt=en-ca |