epoc32/include/stdapis/stlportv5/hash_set
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/stdapis/stlportv5/hash_set	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/stdapis/stlportv5/hash_set	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -2,13 +2,13 @@
     1.4   * Copyright (c) 1996,1997
     1.5   * Silicon Graphics Computer Systems, Inc.
     1.6   *
     1.7 - * Copyright (c) 1999 
     1.8 + * Copyright (c) 1999
     1.9   * Boris Fomitchev
    1.10   *
    1.11   * This material is provided "as is", with absolutely no warranty expressed
    1.12   * or implied. Any use is at your own risk.
    1.13   *
    1.14 - * Permission to use or copy this software for any purpose is hereby granted 
    1.15 + * Permission to use or copy this software for any purpose is hereby granted
    1.16   * without fee, provided the above notices are retained on all copies.
    1.17   * Permission to modify the code and to distribute modified code is granted,
    1.18   * provided the above notices are retained, and a notice that the code was
    1.19 @@ -19,21 +19,28 @@
    1.20  #ifndef _STLP_HASH_SET
    1.21  #define _STLP_HASH_SET
    1.22  
    1.23 -# ifndef _STLP_OUTERMOST_HEADER_ID
    1.24 +#ifndef _STLP_OUTERMOST_HEADER_ID
    1.25  #  define _STLP_OUTERMOST_HEADER_ID 0x4029
    1.26  #  include <stl/_prolog.h>
    1.27 -# endif
    1.28 +#endif
    1.29  
    1.30 -# ifdef _STLP_PRAGMA_ONCE
    1.31 +#ifdef _STLP_PRAGMA_ONCE
    1.32  #  pragma once
    1.33 -# endif
    1.34 +#endif
    1.35 +
    1.36 +#if defined (_STLP_NO_EXTENSIONS)
    1.37 +/* Comment following if you want to use hash constainers even if you ask for
    1.38 + * no extension.
    1.39 + */
    1.40 +#  error The hash_set and hash_multiset class are STLport extensions.
    1.41 +#endif
    1.42  
    1.43  #include <stl/_hash_set.h>
    1.44  
    1.45 -# if (_STLP_OUTERMOST_HEADER_ID == 0x4029)
    1.46 +#if (_STLP_OUTERMOST_HEADER_ID == 0x4029)
    1.47  #  include <stl/_epilog.h>
    1.48  #  undef _STLP_OUTERMOST_HEADER_ID
    1.49 -# endif
    1.50 +#endif
    1.51  
    1.52  #endif /* _STLP_HASH_SET */
    1.53