Borderou de evaluare (job #546602)

Utilizator avatar IoanPet2001 Iona Petrica IoanPet2001 IP ascuns
Problemă Dispozitiv (Lot Juniori) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 19 mar. 2020 16:57:10 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int compare(const void*, const void*)’: user.cpp:18:17: error: no matching function for call to ‘per::per(const void*&)’ user.cpp:18:17: note: candidates are: user.cpp:7:8: note: per::per() user.cpp:7:8: note: candidate expects 0 arguments, 1 provided user.cpp:7:8: note: constexpr per::per(const per&) user.cpp:7:8: note: no known conversion for argument 1 from ‘const void*’ to ‘const per&’ user.cpp:7:8: note: constexpr per::per(per&&) user.cpp:7:8: note: no known conversion for argument 1 from ‘const void*’ to ‘per&&’ user.cpp:18:30: error: no matching function for call to ‘per::per(const void*&)’ user.cpp:18:30: note: candidates are: user.cpp:7:8: note: per::per() user.cpp:7:8: note: candidate expects 0 arguments, 1 provided user.cpp:7:8: note: constexpr per::per(const per&) user.cpp:7:8: note: no known conversion for argument 1 from ‘const void*’ to ‘const per&’ user.cpp:7:8: note: constexpr per::per(per&&) user.cpp:7:8: note: no known conversion for argument 1 from ‘const void*’ to ‘per&&’ user.cpp:18:67: error: no matching function for call to ‘per::per(const void*&)’ user.cpp:18:67: note: candidates are: user.cpp:7:8: note: per::per() user.cpp:7:8: note: candidate expects 0 arguments, 1 provided user.cpp:7:8: note: constexpr per::per(const per&) user.cpp:7:8: note: no known conversion for argument 1 from ‘const void*’ to ‘const per&’ user.cpp:7:8: note: constexpr per::per(per&&) user.cpp:7:8: note: no known conversion for argument 1 from ‘const void*’ to ‘per&&’ user.cpp:18:82: error: no matching function for call to ‘per::per(const void*&)’ user.cpp:18:82: note: candidates are: user.cpp:7:8: note: per::per() user.cpp:7:8: note: candidate expects 0 arguments, 1 provided user.cpp:7:8: note: constexpr per::per(const per&) user.cpp:7:8: note: no known conversion for argument 1 from ‘const void*’ to ‘const per&’ user.cpp:7:8: note: constexpr per::per(per&&) user.cpp:7:8: note: no known conversion for argument 1 from ‘const void*’ to ‘per&&’