Record Detail

Compile Error

In file included from /in/Compile/dlist_pre.cpp:2:
In file included from /in/Compile/dlist.h:78:
/in/dlist_impl.h:76:2: error: called object type 'Dlist<int>::node *' is not a function or function pointer
        first(nullptr);
        ^~~~~
/in/Compile/dlist_pre.cpp:10:16: note: in instantiation of member function 'Dlist<int>::Dlist' requested here
    Dlist<int> ilist;
               ^
In file included from /in/Compile/dlist_pre.cpp:2:
In file included from /in/Compile/dlist.h:78:
/in/dlist_impl.h:77:2: error: called object type 'Dlist<int>::node *' is not a function or function pointer
        last(nullptr);
        ^~~~
2 errors generated.
/in/Compile/Makefile:29: recipe for target 'buildDlistPretest' failed
make: *** [buildDlistPretest] Error 1

Information

Submit By
Type
Submission
Problem
List, Stack, and Queue
Homework
Project 5
Language
C++
Submit At
2021-12-11 19:35:27
Judged At
2021-12-11 19:35:27
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes