1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22#ifndef SYSTEM_STL_SET 23#define SYSTEM_STL_SET 24 25#if defined(HAVE_STL_INCLUDE_PATH) 26 namespace std { class type_info; }; 27 // TODO: use computed include file name 28 #include "utility" 29 #include_next <set> 30#elif defined(_MSC_VER) && (_MSC_VER >= 1900) 31 /* A modern MSVC keeps the standard headers in <toolset>/include, and this 32 file shadows <set> on the include path, so the real one has to be 33 reached explicitly. The path below resolves against the toolset's own 34 include directory and against nothing else on the search path -- the 35 same trick the VC9 branch below uses, retargeted at the layout a modern 36 toolset has. #include_next, used by the branches around this one, is a 37 GCC extension that MSVC does not have. */ 38 #include <../include/set> 39#elif defined(__cplusplus) && (__cplusplus >= 201103L) 40 #include_next <set> 41#elif defined(_MSC_VER) 42 #include <../../VC/include/set> 43#else // fall back to boost/tr1 44 #include <boost/tr1/tr1/set> 45#endif 46 47#endif 48 49