STL does provide a heap in the form of a std::priority_queue.
Previous Question Next Question
Your comments will be displayed only after manual approval.