Debian Codegraph @

cmake/cxx_tests/have_ext_hash_set.cpp

raw
1 // DESCRIPTION
2 //
3 // Check if the C++ compiler has ext/hash_set.
4 // In sync with AC_CXX_HAVE_EXT_HASH_SET (2008-04-12).
5 //
6 // COPYLEFT
7 //
8 // Copyright (c) 2009 Theo Papadopoulo <[email protected]>
9 // Copyright (c) 2008 Alain BARBET <[email protected]>
10 //
11 // This program is free software; you can redistribute it and/or modify it
12 // under the terms of the GNU General Public License as published by the
13 // Free Software Foundation; either version 2 of the License, or (at your
14 // option) any later version.
15 //
16 // This program is distributed in the hope that it will be useful, but
17 // WITHOUT ANY WARRANTY; without even the implied warranty of
18 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
19 // Public License for more details.
20 //
21 // You should have received a copy of the GNU General Public License along
22 // with this program. If not, see <http://www.gnu.org/licenses/>.
23 //
24 // As a special exception, the respective Autoconf Macro's copyright owner
25 // gives unlimited permission to copy, distribute and modify the configure
26 // scripts that are the output of Autoconf when processing the Macro. You
27 // need not follow the terms of the GNU General Public License when using
28 // or distributing such scripts, even though portions of the text of the
29 // Macro appear in them. The GNU General Public License (GPL) does govern
30 // all other use of the material that constitutes the Autoconf Macro.
31 //
32 // This special exception to the GPL applies to versions of the Autoconf
33 // Macro released by the Autoconf Macro Archive. When you make and
34 // distribute a modified version of the Autoconf Macro, you may extend this
35 // special exception to the GPL to apply to your modified version as well.
36
37 #include <ext/hash_set>
38 using namespace std;
39
40 int main() {
41 hash_set<int> t;
42 return 0;
43 }