entry_metadata_base.hpp revision 302408
1147997Srwatson// -*- C++ -*-
2155552Srwatson
3147997Srwatson// Copyright (C) 2005, 2006 Free Software Foundation, Inc.
4147997Srwatson//
5147997Srwatson// This file is part of the GNU ISO C++ Library.  This library is free
6147997Srwatson// software; you can redistribute it and/or modify it under the terms
7147997Srwatson// of the GNU General Public License as published by the Free Software
8147997Srwatson// Foundation; either version 2, or (at your option) any later
9147997Srwatson// version.
10147997Srwatson
11147997Srwatson// This library is distributed in the hope that it will be useful, but
12147997Srwatson// WITHOUT ANY WARRANTY; without even the implied warranty of
13147997Srwatson// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14147997Srwatson// General Public License for more details.
15147997Srwatson
16147997Srwatson// You should have received a copy of the GNU General Public License
17147997Srwatson// along with this library; see the file COPYING.  If not, write to
18147997Srwatson// the Free Software Foundation, 59 Temple Place - Suite 330, Boston,
19147997Srwatson// MA 02111-1307, USA.
20147997Srwatson
21147997Srwatson// As a special exception, you may use this file as part of a free
22147997Srwatson// software library without restriction.  Specifically, if other files
23147997Srwatson// instantiate templates or use macros or inline functions from this
24147997Srwatson// file, or you compile this file and link it with other files to
25147997Srwatson// produce an executable, this file does not by itself cause the
26147997Srwatson// resulting executable to be covered by the GNU General Public
27147997Srwatson// License.  This exception does not however invalidate any other
28147997Srwatson// reasons why the executable file might be covered by the GNU General
29147997Srwatson// Public License.
30222813Sattilio
31147997Srwatson// Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL.
32147997Srwatson
33148627Srwatson// Permission to use, copy, modify, sell, and distribute this software
34148627Srwatson// is hereby granted without fee, provided that the above copyright
35148627Srwatson// notice appears in all copies, and that both that copyright notice
36147997Srwatson// and this permission notice appear in supporting documentation. None
37148627Srwatson// of the above authors, nor IBM Haifa Research Laboratories, make any
38147997Srwatson// representation about the suitability of this software for any
39147997Srwatson// purpose. It is provided "as is" without express or implied
40147997Srwatson// warranty.
41148627Srwatson
42148627Srwatson/**
43155550Srwatson * @file entry_metadata_base.hpp
44147997Srwatson * Contains an implementation for a list update map.
45147997Srwatson */
46147997Srwatson
47222813Sattilio#ifndef PB_DS_LU_MAP_ENTRY_METADATA_BASE_HPP
48147997Srwatson#define PB_DS_LU_MAP_ENTRY_METADATA_BASE_HPP
49147997Srwatson
50147997Srwatsonnamespace pb_ds
51147997Srwatson{
52148627Srwatson  namespace detail
53148627Srwatson  {
54148627Srwatson    template<typename Metadata>
55148627Srwatson    struct lu_map_entry_metadata_base
56148627Srwatson    {
57155547Srwatson      Metadata m_update_metadata;
58155547Srwatson    };
59148627Srwatson
60148627Srwatson    template<>
61148627Srwatson    struct lu_map_entry_metadata_base<null_lu_metadata>
62147997Srwatson    { };
63147997Srwatson  } // namespace detail
64147997Srwatson} // namespace pb_ds
65147997Srwatson
66147997Srwatson#endif
67147997Srwatson