probe_fn_base.hpp revision 302408
1285809Sscottl// -*- C++ -*- 2285809Sscottl 3285809Sscottl// Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4285809Sscottl// 5285809Sscottl// This file is part of the GNU ISO C++ Library. This library is free 6285809Sscottl// software; you can redistribute it and/or modify it under the terms 7285809Sscottl// of the GNU General Public License as published by the Free Software 8285809Sscottl// Foundation; either version 2, or (at your option) any later 9285809Sscottl// version. 10285809Sscottl 11285809Sscottl// This library is distributed in the hope that it will be useful, but 12285809Sscottl// WITHOUT ANY WARRANTY; without even the implied warranty of 13285809Sscottl// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14285809Sscottl// General Public License for more details. 15285809Sscottl 16285809Sscottl// You should have received a copy of the GNU General Public License 17285809Sscottl// along with this library; see the file COPYING. If not, write to 18285809Sscottl// the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19285809Sscottl// MA 02111-1307, USA. 20285809Sscottl 21285809Sscottl// As a special exception, you may use this file as part of a free 22285809Sscottl// software library without restriction. Specifically, if other files 23285809Sscottl// instantiate templates or use macros or inline functions from this 24285809Sscottl// file, or you compile this file and link it with other files to 25285809Sscottl// produce an executable, this file does not by itself cause the 26285809Sscottl// resulting executable to be covered by the GNU General Public 27285809Sscottl// License. This exception does not however invalidate any other 28285809Sscottl// reasons why the executable file might be covered by the GNU General 29285809Sscottl// Public License. 30285809Sscottl 31285809Sscottl// Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32285809Sscottl 33285809Sscottl// Permission to use, copy, modify, sell, and distribute this software 34285809Sscottl// is hereby granted without fee, provided that the above copyright 35285809Sscottl// notice appears in all copies, and that both that copyright notice 36285809Sscottl// and this permission notice appear in supporting documentation. None 37285809Sscottl// of the above authors, nor IBM Haifa Research Laboratories, make any 38285809Sscottl// representation about the suitability of this software for any 39285809Sscottl// purpose. It is provided "as is" without express or implied 40285809Sscottl// warranty. 41285809Sscottl 42285809Sscottl/** 43285809Sscottl * @file probe_fn_base.hpp 44285809Sscottl * Contains a probe policy base. 45285809Sscottl */ 46285809Sscottl 47285809Sscottl#ifndef PB_DS_PROBE_FN_BASE_HPP 48285809Sscottl#define PB_DS_PROBE_FN_BASE_HPP 49285809Sscottl 50285809Sscottl#include <functional> 51285809Sscottl 52285809Sscottlnamespace pb_ds 53285809Sscottl{ 54285809Sscottl namespace detail 55285809Sscottl { 56285809Sscottl template<typename Allocator> 57285809Sscottl class probe_fn_base 58285809Sscottl { 59285809Sscottl protected: 60285809Sscottl ~probe_fn_base() { } 61285809Sscottl }; 62285809Sscottl} // namespace detail 63285809Sscottl} // namespace pb_ds 64285809Sscottl 65285809Sscottl#endif 66285809Sscottl