Record Detail

Compile Error

In file included from /in/compile/Dlist.h:80:0,
                 from /in/compile/dlist_driver.cpp:6:
/in/DlistImpl.h:7:6: error: prototype for 'void Dlist<T>::isEmpty() const' does not match any in class 'Dlist<T>'
 void Dlist<T>::isEmpty() const {
      ^~~~~~~~
In file included from /in/compile/dlist_driver.cpp:6:0:
/in/compile/Dlist.h:15:10: error: candidate is: bool Dlist<T>::isEmpty() const
     bool isEmpty() const;
          ^~~~~~~
In file included from /in/compile/Dlist.h:80:0,
                 from /in/compile/dlist_driver.cpp:6:
/in/DlistImpl.h:80:12: error: 'T' was not declared in this scope
 void Dlist<T>:: void copyAll(const Dlist<T> &l){
            ^
/in/DlistImpl.h:80:13: error: template argument 1 is invalid
 void Dlist<T>:: void copyAll(const Dlist<T> &l){
             ^
/in/DlistImpl.h:80:17: error: expected unqualified-id before 'void'
 void Dlist<T>:: void copyAll(const Dlist<T> &l){
                 ^~~~
/in/DlistImpl.h:107:1: error: expected declaration before '}' token
 }
 ^
/in/compile/Makefile:10: recipe for target 'buildDlist' failed
make: *** [buildDlist] Error 1

Information

Submit By
Type
Submission
Homework
Project 5
Language
C++
Submit At
2021-08-07 13:32:43
Judged At
2021-08-07 13:32:43
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes