~ubuntu-branches/ubuntu/lucid/cmake/lucid

« back to all changes in this revision

Viewing changes to Source/kwsys/hashtable.hxx.in

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2009-12-16 11:11:54 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091216111154-6accvv6yq86h2hkc
Tags: 2.8.0-5ubuntu1
* Merge from debian testing (LP: #497349). Remaining changes:
  - Keep the Replaces: on cmake-data to cover the Kubuntu version from
    Jaunty in case someone decides to do an (unsupported) Jaunty->Lucid
    upgrade.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*=========================================================================
2
 
 
3
 
  Program:   KWSys - Kitware System Library
4
 
  Module:    $RCSfile: hashtable.hxx.in,v $
5
 
 
6
 
  Copyright (c) Kitware, Inc., Insight Consortium.  All rights reserved.
7
 
  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
8
 
 
9
 
     This software is distributed WITHOUT ANY WARRANTY; without even
10
 
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
 
     PURPOSE.  See the above copyright notices for more information.
12
 
 
13
 
=========================================================================*/
 
1
/*============================================================================
 
2
  KWSys - Kitware System Library
 
3
  Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
 
4
 
 
5
  Distributed under the OSI-approved BSD License (the "License");
 
6
  see accompanying file Copyright.txt for details.
 
7
 
 
8
  This software is distributed WITHOUT ANY WARRANTY; without even the
 
9
  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
10
  See the License for more information.
 
11
============================================================================*/
14
12
/*
15
13
 * Copyright (c) 1996
16
14
 * Silicon Graphics Computer Systems, Inc.
36
34
 * purpose.  It is provided "as is" without express or implied warranty.
37
35
 *
38
36
 */
 
37
#ifdef __BORLANDC__
 
38
# pragma warn -8027 /* 'for' not inlined.  */
 
39
# pragma warn -8026 /* 'exception' not inlined.  */
 
40
#endif 
39
41
#ifndef @KWSYS_NAMESPACE@_hashtable_hxx
40
42
#define @KWSYS_NAMESPACE@_hashtable_hxx
41
43
 
212
214
// Define the comparison operators in terms of a base type to avoid
213
215
// needing templated versions.
214
216
class hash_allocator_base {};
215
 
bool operator==(const hash_allocator_base&,
 
217
inline bool operator==(const hash_allocator_base&,
216
218
                const hash_allocator_base&) throw() { return true; }
217
 
bool operator!=(const hash_allocator_base&,
 
219
inline bool operator!=(const hash_allocator_base&,
218
220
                const hash_allocator_base&) throw() { return false; }
219
221
 
220
222
// Define the allocator template.