policy_access_fn_imps.hpp revision 259065
1105197Ssam// -*- C++ -*-
2105197Ssam
3139823Simp// Copyright (C) 2005, 2006 Free Software Foundation, Inc.
4105197Ssam//
5105197Ssam// This file is part of the GNU ISO C++ Library.  This library is free
6105197Ssam// software; you can redistribute it and/or modify it under the terms
7105197Ssam// of the GNU General Public License as published by the Free Software
8105197Ssam// Foundation; either version 2, or (at your option) any later
9105197Ssam// version.
10105197Ssam
11105197Ssam// This library is distributed in the hope that it will be useful, but
12105197Ssam// WITHOUT ANY WARRANTY; without even the implied warranty of
13105197Ssam// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14105197Ssam// General Public License for more details.
15105197Ssam
16105197Ssam// You should have received a copy of the GNU General Public License
17105197Ssam// along with this library; see the file COPYING.  If not, write to
18105197Ssam// the Free Software Foundation, 59 Temple Place - Suite 330, Boston,
19105197Ssam// MA 02111-1307, USA.
20105197Ssam
21105197Ssam// As a special exception, you may use this file as part of a free
22105197Ssam// software library without restriction.  Specifically, if other files
23105197Ssam// instantiate templates or use macros or inline functions from this
24105197Ssam// file, or you compile this file and link it with other files to
25105197Ssam// produce an executable, this file does not by itself cause the
26105197Ssam// resulting executable to be covered by the GNU General Public
27105197Ssam// License.  This exception does not however invalidate any other
28105197Ssam// reasons why the executable file might be covered by the GNU General
29105197Ssam// Public License.
30105197Ssam
31105197Ssam// Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL.
32105197Ssam
33105197Ssam// Permission to use, copy, modify, sell, and distribute this software
34105197Ssam// is hereby granted without fee, provided that the above copyright
35105197Ssam// notice appears in all copies, and that both that copyright notice
36105197Ssam// and this permission notice appear in supporting documentation. None
37105197Ssam// of the above authors, nor IBM Haifa Research Laboratories, make any
38105197Ssam// representation about the suitability of this software for any
39105197Ssam// purpose. It is provided "as is" without express or implied
40105197Ssam// warranty.
41105197Ssam
42105197Ssam/**
43105197Ssam * @file policy_access_fn_imps.hpp
44159965Sthompsa * Contains an implementation class for a binary_heap.
45105197Ssam */
46105197Ssam
47105197SsamPB_DS_CLASS_T_DEC
48105197SsamCmp_Fn&
49105197SsamPB_DS_CLASS_C_DEC::
50105197Ssamget_cmp_fn()
51105197Ssam{
52105197Ssam  return (*this);
53105197Ssam}
54105197Ssam
55171497SbzPB_DS_CLASS_T_DEC
56105197Ssamconst Cmp_Fn&
57185571SbzPB_DS_CLASS_C_DEC::
58105197Ssamget_cmp_fn() const
59105197Ssam{
60105197Ssam  return (*this);
61105197Ssam}
62105197Ssam
63105197Ssam