Advertisement
iskhakovt

Untitled

Dec 10th, 2014
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. In file included from main.cpp:6:
  2. ./leftist_heap.hpp:25:25: error: a non-type template parameter cannot have type 'Pair'
  3. template <typename T, T MIN_INF, class Compare = std::less <T> >
  4. ^
  5. main.cpp:36:5: note: while substituting prior template arguments into non-type template parameter 'MIN_INF' [with T = Pair]
  6. LeftistHeap<Pair, Pair()> queue;
  7. ^~~~~~~~~~~~~~~~~~~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement