Replaced _MSC_VER with BOOST_HAS_PRAGMA_ONCE before #pragma once.

This commit is contained in:
Ion Gaztañaga
2015-01-10 12:50:17 +01:00
parent 36c8f81e42
commit a322203a89
68 changed files with 67 additions and 68 deletions

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_DETAIL_VARRAY_HPP
#define BOOST_CONTAINER_DETAIL_VARRAY_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_VARRAY_HPP
#define BOOST_CONTAINER_VARRAY_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_ADAPTIVE_POOL_HPP
#define BOOST_CONTAINER_ADAPTIVE_POOL_HPP
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_ALLOCATOR_HPP
#define BOOST_CONTAINER_ALLOCATOR_HPP
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -16,7 +16,7 @@
#ifndef BOOST_CONTAINER_ALLOCATOR_ALLOCATOR_TRAITS_HPP
#define BOOST_CONTAINER_ALLOCATOR_ALLOCATOR_TRAITS_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_CONTAINER_FWD_HPP
#define BOOST_CONTAINER_CONTAINER_FWD_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -10,7 +10,7 @@
#ifndef BOOST_CONTAINER_DEQUE_HPP
#define BOOST_CONTAINER_DEQUE_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_DETAIL_ADAPTIVE_NODE_POOL_HPP
#define BOOST_CONTAINER_DETAIL_ADAPTIVE_NODE_POOL_HPP
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_DETAIL_ADAPTIVE_NODE_POOL_IMPL_HPP
#define BOOST_CONTAINER_DETAIL_ADAPTIVE_NODE_POOL_IMPL_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -10,7 +10,7 @@
#ifndef BOOST_CONTAINER_DETAIL_ADDRESSOF_HPP
#define BOOST_CONTAINER_DETAIL_ADDRESSOF_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_ADVANCED_INSERT_INT_HPP
#define BOOST_CONTAINER_ADVANCED_INSERT_INT_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -13,7 +13,7 @@
#ifndef BOOST_CONTAINER_DETAIL_ALGORITHM_HPP
#define BOOST_CONTAINER_DETAIL_ALGORITHM_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -10,7 +10,7 @@
#ifndef BOOST_CONTAINER_DETAIL_ALLOC_TRAITS_HPP
#define BOOST_CONTAINER_DETAIL_ALLOC_TRAITS_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -10,7 +10,7 @@
#ifndef BOOST_CONTAINER_DETAIL_BOOST_CONT_EXT_AUTO_LINK_HPP
#define BOOST_CONTAINER_DETAIL_BOOST_CONT_EXT_AUTO_LINK_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_ALLOCATION_TYPE_HPP
#define BOOST_CONTAINER_ALLOCATION_TYPE_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_DETAIL_ALLOCATOR_VERSION_TRAITS_HPP
#define BOOST_CONTAINER_DETAIL_ALLOCATOR_VERSION_TRAITS_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -10,7 +10,7 @@
#ifndef BOOST_CONTAINER_DETAIL_AUTO_LINK_HPP_INCLUDED
#define BOOST_CONTAINER_DETAIL_AUTO_LINK_HPP_INCLUDED
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_DETAIL_COMPARE_FUNCTORS_HPP
#define BOOST_CONTAINER_DETAIL_COMPARE_FUNCTORS_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -13,7 +13,7 @@
#ifndef BOOST_CONTAINER_DETAIL_CONSTRUCT_IN_PLACE_HPP
#define BOOST_CONTAINER_DETAIL_CONSTRUCT_IN_PLACE_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -10,7 +10,7 @@
#ifndef BOOST_CONTAINER_DETAIL_UTILITIES_HPP
#define BOOST_CONTAINER_DETAIL_UTILITIES_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -13,7 +13,7 @@
#ifndef BOOST_CONTAINER_DESTROYERS_HPP
#define BOOST_CONTAINER_DESTROYERS_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_FLAT_TREE_HPP
#define BOOST_CONTAINER_FLAT_TREE_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -22,7 +22,7 @@
#ifndef BOOST_CONTAINER_DETAIL_FUNCTION_DETECTOR_HPP
#define BOOST_CONTAINER_DETAIL_FUNCTION_DETECTOR_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -13,7 +13,7 @@
#ifndef BOOST_CONTAINER_DETAIL_ITERATOR_HPP
#define BOOST_CONTAINER_DETAIL_ITERATOR_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -10,7 +10,7 @@
#ifndef BOOST_CONTAINER_DETAIL_ITERATOR_TO_RAW_POINTER_HPP
#define BOOST_CONTAINER_DETAIL_ITERATOR_TO_RAW_POINTER_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -14,7 +14,7 @@
#ifndef BOOST_CONTAINER_DETAIL_ITERATORS_HPP
#define BOOST_CONTAINER_DETAIL_ITERATORS_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -16,7 +16,7 @@
#ifndef BOOST_CONTAINER_DETAIL_MATH_FUNCTIONS_HPP
#define BOOST_CONTAINER_DETAIL_MATH_FUNCTIONS_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -10,7 +10,7 @@
#ifndef BOOST_CONTAINER_DETAIL_MIN_MAX_HPP
#define BOOST_CONTAINER_DETAIL_MIN_MAX_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -12,7 +12,7 @@
#ifndef BOOST_CONTAINER_DETAIL_MINIMAL_CHAR_TRAITS_HEADER_HPP
#define BOOST_CONTAINER_DETAIL_MINIMAL_CHAR_TRAITS_HEADER_HPP
#
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif
#

View File

@@ -13,7 +13,7 @@
#ifndef BOOST_CONTAINER_CONTAINER_DETAIL_MPL_HPP
#define BOOST_CONTAINER_CONTAINER_DETAIL_MPL_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_DETAIL_MULTIALLOCATION_CHAIN_HPP
#define BOOST_CONTAINER_DETAIL_MULTIALLOCATION_CHAIN_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -19,7 +19,7 @@
#ifndef BOOST_CONTAINER_MUTEX_HPP
#define BOOST_CONTAINER_MUTEX_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -10,7 +10,7 @@
#ifndef BOOST_CONTAINER_DETAIL_NEXT_CAPACITY_HPP
#define BOOST_CONTAINER_DETAIL_NEXT_CAPACITY_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_DETAIL_NODE_ALLOC_HPP_
#define BOOST_CONTAINER_DETAIL_NODE_ALLOC_HPP_
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_DETAIL_NODE_POOL_HPP
#define BOOST_CONTAINER_DETAIL_NODE_POOL_HPP
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -10,7 +10,7 @@
#ifndef BOOST_CONTAINER_DETAIL_NODE_POOL_IMPL_HPP
#define BOOST_CONTAINER_DETAIL_NODE_POOL_IMPL_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -13,7 +13,7 @@
#ifndef BOOST_CONTAINER_CONTAINER_DETAIL_PAIR_HPP
#define BOOST_CONTAINER_CONTAINER_DETAIL_PAIR_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -10,7 +10,7 @@
//
///////////////////////////////////////////////////////////////////////////////
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_DETAIL_POOL_COMMON_HPP
#define BOOST_CONTAINER_DETAIL_POOL_COMMON_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_DETAIL_POOL_COMMON_ALLOC_HPP
#define BOOST_CONTAINER_DETAIL_POOL_COMMON_ALLOC_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -22,7 +22,7 @@
#ifndef BOOST_CONTAINER_DETAIL_SINGLETON_DETAIL_HPP
#define BOOST_CONTAINER_DETAIL_SINGLETON_DETAIL_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_DETAIL_STD_FWD_HPP
#define BOOST_CONTAINER_DETAIL_STD_FWD_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -10,7 +10,7 @@
#ifndef BOOST_CONTAINER_DETAIL_TO_RAW_POINTER_HPP
#define BOOST_CONTAINER_DETAIL_TO_RAW_POINTER_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -14,7 +14,7 @@
#ifndef BOOST_CONTAINER_DETAIL_TRANSFORM_ITERATORS_HPP
#define BOOST_CONTAINER_DETAIL_TRANSFORM_ITERATORS_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_TREE_HPP
#define BOOST_CONTAINER_TREE_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -16,7 +16,7 @@
#ifndef BOOST_CONTAINER_CONTAINER_DETAIL_TYPE_TRAITS_HPP
#define BOOST_CONTAINER_CONTAINER_DETAIL_TYPE_TRAITS_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -13,7 +13,7 @@
#ifndef BOOST_CONTAINER_DETAIL_VALUE_INIT_HPP
#define BOOST_CONTAINER_DETAIL_VALUE_INIT_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_DETAIL_VARIADIC_TEMPLATES_TOOLS_HPP
#define BOOST_CONTAINER_DETAIL_VARIADIC_TEMPLATES_TOOLS_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -16,7 +16,7 @@
#ifndef BOOST_CONTAINER_DETAIL_VERSION_TYPE_HPP
#define BOOST_CONTAINER_DETAIL_VERSION_TYPE_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_DETAIL_WORKAROUND_HPP
#define BOOST_CONTAINER_DETAIL_WORKAROUND_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -10,7 +10,7 @@
#ifndef BOOST_CONTAINER_FLAT_MAP_HPP
#define BOOST_CONTAINER_FLAT_MAP_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -10,7 +10,7 @@
#ifndef BOOST_CONTAINER_FLAT_SET_HPP
#define BOOST_CONTAINER_FLAT_SET_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -10,7 +10,7 @@
#ifndef BOOST_CONTAINER_LIST_HPP
#define BOOST_CONTAINER_LIST_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -10,7 +10,7 @@
#ifndef BOOST_CONTAINER_MAP_HPP
#define BOOST_CONTAINER_MAP_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_NEW_ALLOCATOR_HPP
#define BOOST_CONTAINER_NEW_ALLOCATOR_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_POOLED_NODE_ALLOCATOR_HPP
#define BOOST_CONTAINER_POOLED_NODE_ALLOCATOR_HPP
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -13,7 +13,7 @@
#ifndef BOOST_CONTAINER_OPTIONS_HPP
#define BOOST_CONTAINER_OPTIONS_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -15,7 +15,7 @@
//! This header file forward declares boost::container::scoped_allocator_adaptor
//! and defines the following types:
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_SET_HPP
#define BOOST_CONTAINER_SET_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_SLIST_HPP
#define BOOST_CONTAINER_SLIST_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -19,7 +19,7 @@
#ifndef BOOST_CONTAINER_STABLE_VECTOR_HPP
#define BOOST_CONTAINER_STABLE_VECTOR_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_STATIC_VECTOR_HPP
#define BOOST_CONTAINER_STATIC_VECTOR_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_STRING_HPP
#define BOOST_CONTAINER_STRING_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_THROW_EXCEPTION_HPP
#define BOOST_CONTAINER_THROW_EXCEPTION_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_CONTAINER_VECTOR_HPP
#define BOOST_CONTAINER_CONTAINER_VECTOR_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -21,7 +21,6 @@
Optimization="0"
AdditionalIncludeDirectories="../../../.."
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
GeneratePreprocessedFile="0"
MinimalRebuild="TRUE"
ExceptionHandling="TRUE"
BasicRuntimeChecks="3"

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_DUMMY_TEST_ALLOCATOR_HPP
#define BOOST_CONTAINER_DUMMY_TEST_ALLOCATOR_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif

View File

@@ -11,7 +11,7 @@
#ifndef BOOST_CONTAINER_EXPAND_BWD_TEST_ALLOCATOR_HPP
#define BOOST_CONTAINER_EXPAND_BWD_TEST_ALLOCATOR_HPP
#if defined(_MSC_VER)
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif