entry_metadata_base.hpp revision 169691
11638Srgrimes// -*- C++ -*- 21638Srgrimes 31638Srgrimes// Copyright (C) 2005, 2006 Free Software Foundation, Inc. 41638Srgrimes// 51638Srgrimes// This file is part of the GNU ISO C++ Library. This library is free 61638Srgrimes// software; you can redistribute it and/or modify it under the terms 71638Srgrimes// of the GNU General Public License as published by the Free Software 81638Srgrimes// Foundation; either version 2, or (at your option) any later 91638Srgrimes// version. 101638Srgrimes 111638Srgrimes// This library is distributed in the hope that it will be useful, but 121638Srgrimes// WITHOUT ANY WARRANTY; without even the implied warranty of 131638Srgrimes// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 141638Srgrimes// General Public License for more details. 151638Srgrimes 161638Srgrimes// You should have received a copy of the GNU General Public License 171638Srgrimes// along with this library; see the file COPYING. If not, write to 181638Srgrimes// the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 191638Srgrimes// MA 02111-1307, USA. 201638Srgrimes 211638Srgrimes// As a special exception, you may use this file as part of a free 221638Srgrimes// software library without restriction. Specifically, if other files 231638Srgrimes// instantiate templates or use macros or inline functions from this 241638Srgrimes// file, or you compile this file and link it with other files to 251638Srgrimes// produce an executable, this file does not by itself cause the 261638Srgrimes// resulting executable to be covered by the GNU General Public 271638Srgrimes// License. This exception does not however invalidate any other 281638Srgrimes// reasons why the executable file might be covered by the GNU General 291638Srgrimes// Public License. 301638Srgrimes 311638Srgrimes// Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 321638Srgrimes 331638Srgrimes// Permission to use, copy, modify, sell, and distribute this software 341638Srgrimes// is hereby granted without fee, provided that the above copyright 351638Srgrimes// notice appears in all copies, and that both that copyright notice 361638Srgrimes// and this permission notice appear in supporting documentation. None 371638Srgrimes// of the above authors, nor IBM Haifa Research Laboratories, make any 381638Srgrimes// representation about the suitability of this software for any 391638Srgrimes// purpose. It is provided "as is" without express or implied 401638Srgrimes// warranty. 411638Srgrimes 421638Srgrimes/** 431638Srgrimes * @file entry_metadata_base.hpp 441638Srgrimes * Contains an implementation for a list update map. 451638Srgrimes */ 461638Srgrimes 471638Srgrimes#ifndef PB_DS_LU_MAP_ENTRY_METADATA_BASE_HPP 481638Srgrimes#define PB_DS_LU_MAP_ENTRY_METADATA_BASE_HPP 491638Srgrimes 501638Srgrimesnamespace pb_ds 511638Srgrimes{ 521638Srgrimes namespace detail 531638Srgrimes { 541638Srgrimes template<typename Metadata> 551638Srgrimes struct lu_map_entry_metadata_base 561638Srgrimes { 571638Srgrimes Metadata m_update_metadata; 581638Srgrimes }; 591638Srgrimes 601638Srgrimes template<> 611638Srgrimes struct lu_map_entry_metadata_base<null_lu_metadata> 621638Srgrimes { }; 631638Srgrimes } // namespace detail 641638Srgrimes} // namespace pb_ds 651638Srgrimes 661638Srgrimes#endif 671638Srgrimes