blob: 1fa1dc5da8391297598bbf577ccb30c733cc9485 [file] [log] [blame]
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*************************************************************/
#ifndef SYSTEM_STL_LIST
#define SYSTEM_STL_LIST
#ifdef HAVE_STL_INCLUDE_PATH
// TODO: use computed include file name
#include_next <list>
#elif defined(_MSC_VER)
// MSVC's list would cause a lot of expression-result-unused warnings
// unless it is compiled in iterator-debugging mode. Silence this noise temporarily.
#pragma warning(push)
#pragma warning(disable:4555)
#include <../../VC/include/list>
#pragma warning(pop)
#else // fall back to boost/tr1
#include <boost/tr1/tr1/list>
#endif
#endif