4 * Hewlett-Packard Company |
4 * Hewlett-Packard Company |
5 * |
5 * |
6 * Copyright (c) 1996,1997 |
6 * Copyright (c) 1996,1997 |
7 * Silicon Graphics Computer Systems, Inc. |
7 * Silicon Graphics Computer Systems, Inc. |
8 * |
8 * |
9 * Copyright (c) 1999 |
9 * Copyright (c) 1999 |
10 * Boris Fomitchev |
10 * Boris Fomitchev |
11 * |
11 * |
12 * This material is provided "as is", with absolutely no warranty expressed |
12 * This material is provided "as is", with absolutely no warranty expressed |
13 * or implied. Any use is at your own risk. |
13 * or implied. Any use is at your own risk. |
14 * |
14 * |
15 * Permission to use or copy this software for any purpose is hereby granted |
15 * Permission to use or copy this software for any purpose is hereby granted |
16 * without fee, provided the above notices are retained on all copies. |
16 * without fee, provided the above notices are retained on all copies. |
17 * Permission to modify the code and to distribute modified code is granted, |
17 * Permission to modify the code and to distribute modified code is granted, |
18 * provided the above notices are retained, and a notice that the code was |
18 * provided the above notices are retained, and a notice that the code was |
19 * modified is included with the above copyright notice. |
19 * modified is included with the above copyright notice. |
20 * |
20 * |
21 */ |
21 */ |
22 |
22 |
23 #ifndef _STLP_UTILITY |
23 #ifndef _STLP_UTILITY |
24 #define _STLP_UTILITY |
24 #define _STLP_UTILITY |
25 |
25 |
26 # ifndef _STLP_OUTERMOST_HEADER_ID |
26 #ifndef _STLP_OUTERMOST_HEADER_ID |
27 # define _STLP_OUTERMOST_HEADER_ID 0x75 |
27 # define _STLP_OUTERMOST_HEADER_ID 0x75 |
28 # include <stl/_prolog.h> |
28 # include <stl/_prolog.h> |
29 # endif |
29 #endif |
30 |
30 |
31 # ifdef _STLP_PRAGMA_ONCE |
31 #ifdef _STLP_PRAGMA_ONCE |
32 # pragma once |
32 # pragma once |
33 # endif |
33 #endif |
34 |
34 |
35 # ifndef __TYPE_TRAITS_H |
35 #ifndef __TYPE_TRAITS_H |
36 # include <stl/type_traits.h> |
36 # include <stl/type_traits.h> |
37 # endif |
37 #endif |
38 |
38 |
39 # if !defined (_STLP_DEBUG_H) && (defined (_STLP_DEBUG) || defined (_STLP_ASSERTIONS)) |
39 #if !defined (_STLP_DEBUG_H) && (defined (_STLP_DEBUG) || defined (_STLP_ASSERTIONS)) |
40 # include <stl/debug/_debug.h> |
40 # include <stl/debug/_debug.h> |
41 # endif |
41 #endif |
42 |
42 |
43 # ifndef _STLP_INTERNAL_PAIR_H |
43 #ifndef _STLP_INTERNAL_PAIR_H |
44 # include <stl/_pair.h> |
44 # include <stl/_pair.h> |
45 # endif |
45 #endif |
46 |
46 |
47 # if defined (_STLP_IMPORT_VENDOR_STD) |
47 #if defined (_STLP_IMPORT_VENDOR_STD) |
48 # include _STLP_NATIVE_HEADER(utility) |
48 # include _STLP_NATIVE_HEADER(utility) |
49 # else |
49 #else |
50 # if defined (_STLP_MSVC) && ! defined (_STLP_INTERNAL_ITERATOR_H) |
50 # if defined (_STLP_MSVC) && !defined (_STLP_INTERNAL_ITERATOR_H) |
51 # include <stl/_iterator.h> |
51 # include <stl/_iterator.h> |
52 # endif |
52 # endif |
53 # endif |
53 #endif |
54 |
54 |
55 # if (_STLP_OUTERMOST_HEADER_ID == 0x75) |
55 #if (_STLP_OUTERMOST_HEADER_ID == 0x75) |
56 # include <stl/_epilog.h> |
56 # include <stl/_epilog.h> |
57 # undef _STLP_OUTERMOST_HEADER_ID |
57 # undef _STLP_OUTERMOST_HEADER_ID |
58 # endif |
58 #endif |
59 |
59 |
60 #endif /* _STLP_UTILITY */ |
60 #endif /* _STLP_UTILITY */ |
61 |
61 |
62 // Local Variables: |
62 // Local Variables: |
63 // mode:C++ |
63 // mode:C++ |