0_0_33997136_27799.cpp: In function 'void change(Complex*, int)':
0_0_33997136_27799.cpp:31:31: error: 'swap' was not declared in this scope
if (i < j) swap(y[i], y[j]);
^
0_0_33997136_27799.cpp:31:31: note: suggested alternatives:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_33997136_27799.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2736:5: note: 'std::swap'
swap(basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/exception:162:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_33997136_27799.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/exception_ptr.h:160:5: note: 'std::__exception_ptr::swap'
swap(exception_ptr& __lhs, exception_ptr& __rhs)
^
|