F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_21288749_22559.cpp: In function 'int main()':
0_0_21288749_22559.cpp:56:7: error: use of deleted function 'std::basic_istringstream<char>& std::basic_istringstream<char>::operator=(const std::basic_istringstream<char>&)'
   iss = istringstream(ts2);
       ^
In file included from 0_0_21288749_22559.cpp:5:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:272:11: note: 'std::basic_istringstream<char>& std::basic_istringstream<char>::operator=(const std::basic_istringstream<char>&)' is implicitly deleted because the default definition would be ill-formed:
     class basic_istringstream : public basic_istream<_CharT, _Traits>
           ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:272:11: error: use of deleted function 'std::basic_istream<char>& std::basic_istream<char>::operator=(const std::basic_istream<char>&)'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:40:0,
                 from 0_0_21288749_22559.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:58:11: note: 'std::basic_istream<char>& std::basic_istream<char>::operator=(const std::basic_istream<char>&)' is implicitly deleted because the default definition would be ill-formed:
     class basic_istream : virtual public basic_ios<_CharT, _Traits>
           ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:58:11: error: use of deleted function 'std::basic_ios<char>& std::basic_ios<char>::operator=(const std::basic_ios<char>&)'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:44:0,
                 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_21288749_22559.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_ios.h:66:11: note: 'std::basic_ios<char>& std::basic_ios<char>::operator=(const std::basic_ios<char>&)' is implicitly deleted because the default definition would be ill-formed:
     class basic_ios : public ios_base
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42:0,
                 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_21288749_22559.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:789:5: error: 'std::ios_base& std::ios_base::operator=(const std::ios_base&)' is private
     operator=(const ios_base&);
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:44:0,
                 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_21288749_22559.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_ios.h:66:11: error: within this context
     class basic_ios : public ios_base
           ^
In file included from 0_0_21288749_22559.cpp:5:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:272:11: error: use of deleted function 'std::basic_stringbuf<char>& std::basic_stringbuf<char>::operator=(const std::basic_stringbuf<char>&)'
     class basic_istringstream : public basic_istream<_CharT, _Traits>
           ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:64:11: note: 'std::basic_stringbuf<char>& std::basic_stringbuf<char>::operator=(const std::basic_stringbuf<char>&)' is implicitly deleted because the default definition would be ill-formed:
     class basic_stringbuf : public basic_streambuf<_CharT, _Traits>
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:43:0,
                 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_21288749_22559.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/streambuf:810:7: error: 'std::basic_streambuf<_CharT, _Traits>& std::basic_streambuf<_CharT, _Traits>::operator=(const std::basic_streambuf<_CharT, _Traits>&) [with _CharT = char; _Traits = std::char_traits<char>]' is private
       operator=(const basic_streambuf&) { return *this; };
       ^
In file included from 0_0_21288749_22559.cpp:5:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:64:11: error: within this context
     class basic_stringbuf : public basic_streambuf<_CharT, _Traits>
           ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 09:43:55, Gzip enabled