0_0_14159667_19040.cpp: In function 'int main()':
0_0_14159667_19040.cpp:56:21: error: no match for 'operator=' (operand types are 'Seg' and 'int')
ss[m++] = (a , c , b , 1);
^
0_0_14159667_19040.cpp:56:21: note: candidates are:
0_0_14159667_19040.cpp:13:8: note: Seg& Seg::operator=(const Seg&)
struct Seg {
^
0_0_14159667_19040.cpp:13:8: note: no known conversion for argument 1 from 'int' to 'const Seg&'
0_0_14159667_19040.cpp:13:8: note: Seg& Seg::operator=(Seg&&)
0_0_14159667_19040.cpp:13:8: note: no known conversion for argument 1 from 'int' to 'Seg&&'
|