Re: error: 'comp' was not declared in this scope

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux