This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: error: 'comp' was not declared in this scope
- From: John Love-Jensen <eljay at adobe dot com>
- To: Divy Kanungo <divyk at bgnet dot bgsu dot edu>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Wed, 14 Feb 2007 06:23:30 -0600
- Subject: Re: error: 'comp' was not declared in this scope
Hi Divy,
You might want to try adding this near the beginning of your Queue template
class:
protected:
using std::priority_queue< T, std::vector<T>, PLess<T> >::c;
using std::priority_queue< T, std::vector<T>, PLess<T> >::comp;
HTH,
--Eljay