debug_fn_imps.hpp revision 267654
1259701Sdim// -*- C++ -*-
2259701Sdim
3259701Sdim// Copyright (C) 2005, 2006 Free Software Foundation, Inc.
4259701Sdim//
5259701Sdim// This file is part of the GNU ISO C++ Library.  This library is free
6259701Sdim// software; you can redistribute it and/or modify it under the terms
7259701Sdim// of the GNU General Public License as published by the Free Software
8259701Sdim// Foundation; either version 2, or (at your option) any later
9259701Sdim// version.
10259701Sdim
11259701Sdim// This library is distributed in the hope that it will be useful, but
12259701Sdim// WITHOUT ANY WARRANTY; without even the implied warranty of
13259701Sdim// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14259701Sdim// General Public License for more details.
15259701Sdim
16259701Sdim// You should have received a copy of the GNU General Public License
17288943Sdim// along with this library; see the file COPYING.  If not, write to
18259701Sdim// the Free Software Foundation, 59 Temple Place - Suite 330, Boston,
19259701Sdim// MA 02111-1307, USA.
20259701Sdim
21259701Sdim// As a special exception, you may use this file as part of a free
22259701Sdim// software library without restriction.  Specifically, if other files
23259701Sdim// instantiate templates or use macros or inline functions from this
24259701Sdim// file, or you compile this file and link it with other files to
25259701Sdim// produce an executable, this file does not by itself cause the
26296417Sdim// resulting executable to be covered by the GNU General Public
27259701Sdim// License.  This exception does not however invalidate any other
28259701Sdim// reasons why the executable file might be covered by the GNU General
29259701Sdim// Public License.
30259701Sdim
31259701Sdim// Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL.
32259701Sdim
33296417Sdim// Permission to use, copy, modify, sell, and distribute this software
34259701Sdim// is hereby granted without fee, provided that the above copyright
35259701Sdim// notice appears in all copies, and that both that copyright notice
36259701Sdim// and this permission notice appear in supporting documentation. None
37259701Sdim// of the above authors, nor IBM Haifa Research Laboratories, make any
38259701Sdim// representation about the suitability of this software for any
39259701Sdim// purpose. It is provided "as is" without express or implied
40259701Sdim// warranty.
41259701Sdim
42259701Sdim/**
43259701Sdim * @file debug_fn_imps.hpp
44259701Sdim * Contains implementations of gp_ht_map_'s debug-mode functions.
45259701Sdim */
46259701Sdim
47259701Sdim#ifdef _GLIBCXX_DEBUG
48259701Sdim
49259701SdimPB_DS_CLASS_T_DEC
50259701Sdimvoid
51259701SdimPB_DS_CLASS_C_DEC::
52259701Sdimassert_valid() const
53259701Sdim{
54259701Sdim  map_debug_base::check_size(m_num_used_e);
55259701Sdim  assert_entry_array_valid(m_entries, traits_base::m_store_extra_indicator);
56259701Sdim}
57259701Sdim
58259701Sdim#include <ext/pb_ds/detail/gp_hash_table_map_/debug_no_store_hash_fn_imps.hpp>
59259701Sdim#include <ext/pb_ds/detail/gp_hash_table_map_/debug_store_hash_fn_imps.hpp>
60259701Sdim
61259701Sdim#endif
62259701Sdim