1 | // Copyright (C) 1999 and onwards Google, Inc. |
2 | // |
3 | // DEPRECATED: This file is deprecated. Do not use in new code. |
4 | // Be careful about removing from old code, though, because your |
5 | // header file might be included by higher-level code that is |
6 | // accidentally depending on this. This file has no impact in linux |
7 | // compilations; you can safely remove dependencies from linux code. |
8 | // |
9 | // Original file level comment: |
10 | // In most .h files, we would rather include a declaration of an stl |
11 | // rather than including the appropriate stl h file (which brings in |
12 | // lots of crap). For many STL classes this is ok (eg pair), but for |
13 | // some it's really annoying. We define those here, so you can |
14 | // just include this file instead of having to deal with the annoyance. |
15 | // |
16 | // Most of the annoyance, btw, has to do with the default allocator. |
17 | // |
18 | |
19 | #ifndef BASE_STL_DECL_H_ |
20 | #define BASE_STL_DECL_H_ |
21 | |
22 | #if defined(STL_MSVC) /* If VC++'s STL */ |
23 | #include "base/stl_decl_msvc.h" |
24 | |
25 | #elif defined(__APPLE__) && defined(OS_MACOSX) /* gcc with a twist */ |
26 | #include "base/stl_decl_osx.h" |
27 | |
28 | #elif !defined(__GNUC__) |
29 | #error "Unknown C++ compiler" |
30 | #endif |
31 | |
32 | #endif // BASE_STL_DECL_H_ |
33 | |