entry_metadata_base.hpp revision 303975
190075Sobrien// -*- C++ -*-
290075Sobrien
3169689Skan// Copyright (C) 2005, 2006 Free Software Foundation, Inc.
490075Sobrien//
5132718Skan// This file is part of the GNU ISO C++ Library.  This library is free
690075Sobrien// software; you can redistribute it and/or modify it under the terms
7132718Skan// of the GNU General Public License as published by the Free Software
8132718Skan// Foundation; either version 2, or (at your option) any later
9132718Skan// version.
10132718Skan
1190075Sobrien// This library is distributed in the hope that it will be useful, but
12132718Skan// WITHOUT ANY WARRANTY; without even the implied warranty of
13132718Skan// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14132718Skan// General Public License for more details.
15132718Skan
1690075Sobrien// You should have received a copy of the GNU General Public License
17132718Skan// along with this library; see the file COPYING.  If not, write to
18132718Skan// the Free Software Foundation, 59 Temple Place - Suite 330, Boston,
19169689Skan// MA 02111-1307, USA.
20169689Skan
2190075Sobrien// As a special exception, you may use this file as part of a free
2290075Sobrien// software library without restriction.  Specifically, if other files
2390075Sobrien// instantiate templates or use macros or inline functions from this
2490075Sobrien// file, or you compile this file and link it with other files to
25117395Skan// produce an executable, this file does not by itself cause the
2690075Sobrien// resulting executable to be covered by the GNU General Public
2790075Sobrien// License.  This exception does not however invalidate any other
2890075Sobrien// reasons why the executable file might be covered by the GNU General
2990075Sobrien// Public License.
3090075Sobrien
3190075Sobrien// Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL.
3290075Sobrien
3390075Sobrien// Permission to use, copy, modify, sell, and distribute this software
3490075Sobrien// is hereby granted without fee, provided that the above copyright
3590075Sobrien// notice appears in all copies, and that both that copyright notice
3690075Sobrien// and this permission notice appear in supporting documentation. None
3790075Sobrien// of the above authors, nor IBM Haifa Research Laboratories, make any
3890075Sobrien// representation about the suitability of this software for any
3990075Sobrien// purpose. It is provided "as is" without express or implied
4090075Sobrien// warranty.
4190075Sobrien
4290075Sobrien/**
4390075Sobrien * @file entry_metadata_base.hpp
4490075Sobrien * Contains an implementation for a list update map.
4590075Sobrien */
4690075Sobrien
4790075Sobrien#ifndef PB_DS_LU_MAP_ENTRY_METADATA_BASE_HPP
4890075Sobrien#define PB_DS_LU_MAP_ENTRY_METADATA_BASE_HPP
4990075Sobrien
5090075Sobriennamespace pb_ds
5190075Sobrien{
5290075Sobrien  namespace detail
5390075Sobrien  {
5490075Sobrien    template<typename Metadata>
5590075Sobrien    struct lu_map_entry_metadata_base
5690075Sobrien    {
5790075Sobrien      Metadata m_update_metadata;
5890075Sobrien    };
59169689Skan
60169689Skan    template<>
6190075Sobrien    struct lu_map_entry_metadata_base<null_lu_metadata>
62169689Skan    { };
6390075Sobrien  } // namespace detail
64117395Skan} // namespace pb_ds
6590075Sobrien
6690075Sobrien#endif
6790075Sobrien