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_16066837_22948.cpp: In function 'int main()':
0_0_16066837_22948.cpp:15:37: error: use of deleted function 'std::basic_stringstream<char>::basic_stringstream(const std::basic_stringstream<char>&)'
   stringstream sstr = stringstream(s);
                                     ^
In file included from 0_0_16066837_22948.cpp:3:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:502:11: note: 'std::basic_stringstream<char>::basic_stringstream(const std::basic_stringstream<char>&)' is implicitly deleted because the default definition would be ill-formed:
     class basic_stringstream : public basic_iostream<_CharT, _Traits>
           ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:502:11: error: use of deleted function 'std::basic_iostream<char>::basic_iostream(const std::basic_iostream<char>&)'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:40:0,
                 from 0_0_16066837_22948.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:795:11: note: 'std::basic_iostream<char>::basic_iostream(const std::basic_iostream<char>&)' is implicitly deleted because the default definition would be ill-formed:
     class basic_iostream
           ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:795:11: error: use of deleted function 'std::basic_istream<char>::basic_istream(const std::basic_istream<char>&)'
GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:58:11: note: 'std::basic_istream<char>::basic_istream(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>::basic_ios(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_16066837_22948.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_ios.h:66:11: note: 'std::basic_ios<char>::basic_ios(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_16066837_22948.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:786:5: error: 'std::ios_base::ios_base(const std::ios_base&)' is private
     ios_base(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_16066837_22948.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 GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:40:0,
                 from 0_0_16066837_22948.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:795:11: error: use of deleted function 'std::basic_ostream<char>::basic_ostream(const std::basic_ostream<char>&)'
     class basic_iostream
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
                 from 0_0_16066837_22948.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:58:11: note: 'std::basic_ostream<char>::basic_ostream(const std::basic_ostream<char>&)' is implicitly deleted because the default definition would be ill-formed:
     class basic_ostream : virtual public basic_ios<_CharT, _Traits>
           ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:58:11: error: use of deleted function 'std::basic_ios<char>::basic_ios(const std::basic_ios<char>&)'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:40:0,
                 from 0_0_16066837_22948.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:795:11: error: use of deleted function 'std::basic_ios<char>::basic_ios(const std::basic_ios<char>&)'
     class basic_iostream
           ^
In file included from 0_0_16066837_22948.cpp:3:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:502:11: error: use of deleted function 'std::basic_ios<char>::basic_ios(const std::basic_ios<char>&)'
     class basic_stringstream : public basic_iostream<_CharT, _Traits>
           ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:502:11: error: use of deleted function 'std::basic_stringbuf<char>::basic_stringbuf(const std::basic_stringbuf<char>&)'
GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:64:11: note: 'std::basic_stringbuf<char>::basic_stringbuf(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_16066837_22948.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/streambuf:802:7: error: 'std::basic_streambuf<_CharT, _Traits>::basic_streambuf(const std::basic_streambuf<_CharT, _Traits>&) [with _CharT = char; _Traits = std::char_traits<char>]' is private
       basic_streambuf(const basic_streambuf& __sb)
       ^
In file included from 0_0_16066837_22948.cpp:3: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-18 18:24:59, Gzip enabled