debug_no_store_hash_fn_imps.hpp revision 302408
1133546Stjr// -*- C++ -*- 2133546Stjr 3133546Stjr// Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4133546Stjr// 5133546Stjr// This file is part of the GNU ISO C++ Library. This library is free 6133546Stjr// software; you can redistribute it and/or modify it under the terms 7133546Stjr// of the GNU General Public License as published by the Free Software 8133546Stjr// Foundation; either version 2, or (at your option) any later 9133546Stjr// version. 10133546Stjr 11133546Stjr// This library is distributed in the hope that it will be useful, but 12133546Stjr// WITHOUT ANY WARRANTY; without even the implied warranty of 13133546Stjr// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14133546Stjr// General Public License for more details. 15133546Stjr 16133546Stjr// You should have received a copy of the GNU General Public License 17133546Stjr// along with this library; see the file COPYING. If not, write to 18133546Stjr// the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19133546Stjr// MA 02111-1307, USA. 20133546Stjr 21133546Stjr// As a special exception, you may use this file as part of a free 22133546Stjr// software library without restriction. Specifically, if other files 23133546Stjr// instantiate templates or use macros or inline functions from this 24133546Stjr// file, or you compile this file and link it with other files to 25133546Stjr// produce an executable, this file does not by itself cause the 26133546Stjr// resulting executable to be covered by the GNU General Public 27133546Stjr// License. This exception does not however invalidate any other 28133546Stjr// reasons why the executable file might be covered by the GNU General 29133546Stjr// Public License. 30133546Stjr 31133546Stjr// Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32133546Stjr 33133546Stjr// Permission to use, copy, modify, sell, and distribute this software 34133546Stjr// is hereby granted without fee, provided that the above copyright 35133546Stjr// notice appears in all copies, and that both that copyright notice 36133546Stjr// and this permission notice appear in supporting documentation. None 37133546Stjr// of the above authors, nor IBM Haifa Research Laboratories, make any 38133546Stjr// representation about the suitability of this software for any 39133546Stjr// purpose. It is provided "as is" without express or implied 40133546Stjr// warranty. 41133546Stjr 42133546Stjr/** 43133546Stjr * @file debug_no_store_hash_fn_imps.hpp 44133546Stjr * Contains implementations of cc_ht_map_'s debug-mode functions. 45133546Stjr */ 46 47#ifdef _GLIBCXX_DEBUG 48 49PB_DS_CLASS_T_DEC 50void 51PB_DS_CLASS_C_DEC:: 52assert_entry_pointer_valid(const entry_pointer p, false_type) const 53{ map_debug_base::check_key_exists(PB_DS_V2F(p->m_value)); } 54 55#endif 56