debug_fn_imps.hpp revision 296373
160107Sobrien// -*- C++ -*-
24564Sache
34564Sache// Copyright (C) 2005, 2006 Free Software Foundation, Inc.
44564Sache//
54564Sache// This file is part of the GNU ISO C++ Library.  This library is free
64564Sache// software; you can redistribute it and/or modify it under the terms
74564Sache// of the GNU General Public License as published by the Free Software
84564Sache// Foundation; either version 2, or (at your option) any later
94564Sache// version.
104564Sache
114564Sache// This library is distributed in the hope that it will be useful, but
124564Sache// WITHOUT ANY WARRANTY; without even the implied warranty of
134564Sache// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
144564Sache// General Public License for more details.
154564Sache
164564Sache// You should have received a copy of the GNU General Public License
174564Sache// along with this library; see the file COPYING.  If not, write to
1838140Syokota// the Free Software Foundation, 59 Temple Place - Suite 330, Boston,
194564Sache// MA 02111-1307, USA.
206867Sache
214686Sache// As a special exception, you may use this file as part of a free
224564Sache// software library without restriction.  Specifically, if other files
234564Sache// instantiate templates or use macros or inline functions from this
244564Sache// file, or you compile this file and link it with other files to
254564Sache// produce an executable, this file does not by itself cause the
264564Sache// resulting executable to be covered by the GNU General Public
274564Sache// License.  This exception does not however invalidate any other
284564Sache// reasons why the executable file might be covered by the GNU General
294564Sache// Public License.
304564Sache
314564Sache// Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL.
324564Sache
334564Sache// Permission to use, copy, modify, sell, and distribute this software
344564Sache// is hereby granted without fee, provided that the above copyright
354564Sache// notice appears in all copies, and that both that copyright notice
364564Sache// and this permission notice appear in supporting documentation. None
374564Sache// of the above authors, nor IBM Haifa Research Laboratories, make any
384564Sache// representation about the suitability of this software for any
394564Sache// purpose. It is provided "as is" without express or implied
404564Sache// warranty.
414564Sache
424564Sache/**
434564Sache * @file debug_fn_imps.hpp
444564Sache * Contains implementations of gp_ht_map_'s debug-mode functions.
454564Sache */
464564Sache
474564Sache#ifdef _GLIBCXX_DEBUG
484564Sache
494564SachePB_DS_CLASS_T_DEC
504564Sachevoid
514564SachePB_DS_CLASS_C_DEC::
524564Sacheassert_valid() const
534564Sache{
544564Sache  map_debug_base::check_size(m_num_used_e);
554564Sache  assert_entry_array_valid(m_entries, traits_base::m_store_extra_indicator);
564564Sache}
574564Sache
584564Sache#include <ext/pb_ds/detail/gp_hash_table_map_/debug_no_store_hash_fn_imps.hpp>
594564Sache#include <ext/pb_ds/detail/gp_hash_table_map_/debug_store_hash_fn_imps.hpp>
604564Sache
614564Sache#endif
624564Sache