slist (7b77422c) | slist (a718d426) |
---|---|
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 --- 11 unchanged lines hidden (view full) --- 20 *************************************************************/ 21 22#ifndef SYSTEM_STL_SLIST 23#define SYSTEM_STL_SLIST 24 25#ifdef HAVE_STL_INCLUDE_PATH 26 // TODO: use computed include file name 27 #include_next <forward_list> | 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 --- 11 unchanged lines hidden (view full) --- 20 *************************************************************/ 21 22#ifndef SYSTEM_STL_SLIST 23#define SYSTEM_STL_SLIST 24 25#ifdef HAVE_STL_INCLUDE_PATH 26 // TODO: use computed include file name 27 #include_next <forward_list> |
28#elif defined(__cplusplus) && (__cplusplus >= 201103L) 29 #include <forward_list> |
|
28#elif defined(_MSC_VER) 29 #include <../../VC/include/list> 30 #define STLP4_SLIST_WITH_LIST 31 // MSVC's list would cause a lot of expression-result-unused warnings 32 // unless it is compiled in iterator-debugging mode. Silence this noise 33 #pragma warning(disable:4555) 34#else // fall back to boost/tr1 (forward_list or plain list) 35 #include <boost/config.hpp> --- 42 unchanged lines hidden --- | 30#elif defined(_MSC_VER) 31 #include <../../VC/include/list> 32 #define STLP4_SLIST_WITH_LIST 33 // MSVC's list would cause a lot of expression-result-unused warnings 34 // unless it is compiled in iterator-debugging mode. Silence this noise 35 #pragma warning(disable:4555) 36#else // fall back to boost/tr1 (forward_list or plain list) 37 #include <boost/config.hpp> --- 42 unchanged lines hidden --- |