2000-10-05 19:27:02 +08:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* Copyright (c) 1994
|
|
|
|
* Hewlett-Packard Company
|
|
|
|
*
|
|
|
|
* Permission to use, copy, modify, distribute and sell this software
|
|
|
|
* and its documentation for any purpose is hereby granted without fee,
|
|
|
|
* provided that the above copyright notice appear in all copies and
|
|
|
|
* that both that copyright notice and this permission notice appear
|
|
|
|
* in supporting documentation. Hewlett-Packard Company makes no
|
|
|
|
* representations about the suitability of this software for any
|
|
|
|
* purpose. It is provided "as is" without express or implied warranty.
|
|
|
|
*
|
|
|
|
* Copyright (c) 1997
|
|
|
|
* Silicon Graphics Computer Systems, Inc.
|
|
|
|
*
|
|
|
|
* Permission to use, copy, modify, distribute and sell this software
|
|
|
|
* and its documentation for any purpose is hereby granted without fee,
|
|
|
|
* provided that the above copyright notice appear in all copies and
|
|
|
|
* that both that copyright notice and this permission notice appear
|
|
|
|
* in supporting documentation. Silicon Graphics makes no
|
|
|
|
* representations about the suitability of this software for any
|
|
|
|
* purpose. It is provided "as is" without express or implied warranty.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CPP_BACKWARD_HEAP_H
|
|
|
|
#define _CPP_BACKWARD_HEAP_H 1
|
|
|
|
|
2001-02-21 04:20:48 +08:00
|
|
|
#include <bits/c++config.h>
|
2000-10-05 19:27:02 +08:00
|
|
|
#include <bits/stl_heap.h>
|
|
|
|
|
2001-03-05 05:34:02 +08:00
|
|
|
using std::push_heap;
|
|
|
|
using std::pop_heap;
|
|
|
|
using std::make_heap;
|
|
|
|
using std::sort_heap;
|
2000-10-05 19:27:02 +08:00
|
|
|
|
|
|
|
#endif /* _CPP_BACKWARD_HEAP_H */
|
|
|
|
|
|
|
|
// Local Variables:
|
|
|
|
// mode:C++
|
|
|
|
// End:
|