diff --git a/include/boost/intrusive/any_hook.hpp b/include/boost/intrusive/any_hook.hpp index 144d661..697caa4 100644 --- a/include/boost/intrusive/any_hook.hpp +++ b/include/boost/intrusive/any_hook.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_ANY_HOOK_HPP #define BOOST_INTRUSIVE_ANY_HOOK_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/avl_set.hpp b/include/boost/intrusive/avl_set.hpp index 9ae6bd4..58d6108 100644 --- a/include/boost/intrusive/avl_set.hpp +++ b/include/boost/intrusive/avl_set.hpp @@ -12,6 +12,10 @@ #ifndef BOOST_INTRUSIVE_AVL_SET_HPP #define BOOST_INTRUSIVE_AVL_SET_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/avl_set_hook.hpp b/include/boost/intrusive/avl_set_hook.hpp index c4526c6..6fdc51b 100644 --- a/include/boost/intrusive/avl_set_hook.hpp +++ b/include/boost/intrusive/avl_set_hook.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_AVL_SET_HOOK_HPP #define BOOST_INTRUSIVE_AVL_SET_HOOK_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/avltree.hpp b/include/boost/intrusive/avltree.hpp index b5df120..a59dfec 100644 --- a/include/boost/intrusive/avltree.hpp +++ b/include/boost/intrusive/avltree.hpp @@ -12,6 +12,10 @@ #ifndef BOOST_INTRUSIVE_AVLTREE_HPP #define BOOST_INTRUSIVE_AVLTREE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/avltree_algorithms.hpp b/include/boost/intrusive/avltree_algorithms.hpp index 1747b87..e5bcfde 100644 --- a/include/boost/intrusive/avltree_algorithms.hpp +++ b/include/boost/intrusive/avltree_algorithms.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_AVLTREE_ALGORITHMS_HPP #define BOOST_INTRUSIVE_AVLTREE_ALGORITHMS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/bs_set.hpp b/include/boost/intrusive/bs_set.hpp index 8a328fa..b87a543 100644 --- a/include/boost/intrusive/bs_set.hpp +++ b/include/boost/intrusive/bs_set.hpp @@ -12,6 +12,10 @@ #ifndef BOOST_INTRUSIVE_BS_SET_HPP #define BOOST_INTRUSIVE_BS_SET_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/bs_set_hook.hpp b/include/boost/intrusive/bs_set_hook.hpp index 1b5a2bb..cb5af30 100644 --- a/include/boost/intrusive/bs_set_hook.hpp +++ b/include/boost/intrusive/bs_set_hook.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_BS_SET_HOOK_HPP #define BOOST_INTRUSIVE_BS_SET_HOOK_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/bstree.hpp b/include/boost/intrusive/bstree.hpp index 490dbc8..bf63f3a 100644 --- a/include/boost/intrusive/bstree.hpp +++ b/include/boost/intrusive/bstree.hpp @@ -12,6 +12,10 @@ #ifndef BOOST_INTRUSIVE_BSTREE_HPP #define BOOST_INTRUSIVE_BSTREE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/bstree_algorithms.hpp b/include/boost/intrusive/bstree_algorithms.hpp index ca12460..de5445e 100644 --- a/include/boost/intrusive/bstree_algorithms.hpp +++ b/include/boost/intrusive/bstree_algorithms.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_BSTREE_ALGORITHMS_HPP #define BOOST_INTRUSIVE_BSTREE_ALGORITHMS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/circular_list_algorithms.hpp b/include/boost/intrusive/circular_list_algorithms.hpp index 477718e..1e888a1 100644 --- a/include/boost/intrusive/circular_list_algorithms.hpp +++ b/include/boost/intrusive/circular_list_algorithms.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_CIRCULAR_LIST_ALGORITHMS_HPP #define BOOST_INTRUSIVE_CIRCULAR_LIST_ALGORITHMS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/circular_slist_algorithms.hpp b/include/boost/intrusive/circular_slist_algorithms.hpp index 68ba664..3dd561d 100644 --- a/include/boost/intrusive/circular_slist_algorithms.hpp +++ b/include/boost/intrusive/circular_slist_algorithms.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_CIRCULAR_SLIST_ALGORITHMS_HPP #define BOOST_INTRUSIVE_CIRCULAR_SLIST_ALGORITHMS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/derivation_value_traits.hpp b/include/boost/intrusive/derivation_value_traits.hpp index b55c968..87bc489 100644 --- a/include/boost/intrusive/derivation_value_traits.hpp +++ b/include/boost/intrusive/derivation_value_traits.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DERIVATION_VALUE_TRAITS_HPP #define BOOST_INTRUSIVE_DERIVATION_VALUE_TRAITS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/detail/algo_type.hpp b/include/boost/intrusive/detail/algo_type.hpp index 0b34211..e40cb43 100644 --- a/include/boost/intrusive/detail/algo_type.hpp +++ b/include/boost/intrusive/detail/algo_type.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_ALGO_TYPE_HPP #define BOOST_INTRUSIVE_DETAIL_ALGO_TYPE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + namespace boost { namespace intrusive { diff --git a/include/boost/intrusive/detail/any_node_and_algorithms.hpp b/include/boost/intrusive/detail/any_node_and_algorithms.hpp index 141efd7..5a0e8c2 100644 --- a/include/boost/intrusive/detail/any_node_and_algorithms.hpp +++ b/include/boost/intrusive/detail/any_node_and_algorithms.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_ANY_NODE_HPP #define BOOST_INTRUSIVE_ANY_NODE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/detail/array_initializer.hpp b/include/boost/intrusive/detail/array_initializer.hpp index 40b58ff..b2072a8 100644 --- a/include/boost/intrusive/detail/array_initializer.hpp +++ b/include/boost/intrusive/detail/array_initializer.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_ARRAY_INITIALIZER_HPP #define BOOST_INTRUSIVE_DETAIL_ARRAY_INITIALIZER_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include namespace boost { diff --git a/include/boost/intrusive/detail/avltree_node.hpp b/include/boost/intrusive/detail/avltree_node.hpp index eed7a8b..522806a 100644 --- a/include/boost/intrusive/detail/avltree_node.hpp +++ b/include/boost/intrusive/detail/avltree_node.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_AVLTREE_NODE_HPP #define BOOST_INTRUSIVE_AVLTREE_NODE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/detail/common_slist_algorithms.hpp b/include/boost/intrusive/detail/common_slist_algorithms.hpp index 952fd8f..4c7f1a1 100644 --- a/include/boost/intrusive/detail/common_slist_algorithms.hpp +++ b/include/boost/intrusive/detail/common_slist_algorithms.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_COMMON_SLIST_ALGORITHMS_HPP #define BOOST_INTRUSIVE_COMMON_SLIST_ALGORITHMS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/detail/default_header_holder.hpp b/include/boost/intrusive/detail/default_header_holder.hpp index 1ec1d1b..c471691 100644 --- a/include/boost/intrusive/detail/default_header_holder.hpp +++ b/include/boost/intrusive/detail/default_header_holder.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_DEFAULT_HEADER_HOLDER_HPP #define BOOST_INTRUSIVE_DETAIL_DEFAULT_HEADER_HOLDER_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/detail/ebo_functor_holder.hpp b/include/boost/intrusive/detail/ebo_functor_holder.hpp index 34bc919..d2e8107 100644 --- a/include/boost/intrusive/detail/ebo_functor_holder.hpp +++ b/include/boost/intrusive/detail/ebo_functor_holder.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_EBO_HOLDER_HPP #define BOOST_INTRUSIVE_DETAIL_EBO_HOLDER_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include namespace boost { diff --git a/include/boost/intrusive/detail/empty_node_checker.hpp b/include/boost/intrusive/detail/empty_node_checker.hpp index 82bd4c0..33d78a3 100644 --- a/include/boost/intrusive/detail/empty_node_checker.hpp +++ b/include/boost/intrusive/detail/empty_node_checker.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_EMPTY_NODE_CHECKER_HPP #define BOOST_INTRUSIVE_DETAIL_EMPTY_NODE_CHECKER_HPP +#if defined(_MSC_VER) +# pragma once +#endif + namespace boost { namespace intrusive { namespace detail { diff --git a/include/boost/intrusive/detail/equal_to_value.hpp b/include/boost/intrusive/detail/equal_to_value.hpp index 70a19e5..3ffd1c2 100644 --- a/include/boost/intrusive/detail/equal_to_value.hpp +++ b/include/boost/intrusive/detail/equal_to_value.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_EQUAL_TO_VALUE_HPP #define BOOST_INTRUSIVE_DETAIL_EQUAL_TO_VALUE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + namespace boost { namespace intrusive { namespace detail { diff --git a/include/boost/intrusive/detail/exception_disposer.hpp b/include/boost/intrusive/detail/exception_disposer.hpp index f588e0c..1226f5e 100644 --- a/include/boost/intrusive/detail/exception_disposer.hpp +++ b/include/boost/intrusive/detail/exception_disposer.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_EXCEPTION_DISPOSER_HPP #define BOOST_INTRUSIVE_DETAIL_EXCEPTION_DISPOSER_HPP +#if defined(_MSC_VER) +# pragma once +#endif + namespace boost { namespace intrusive { namespace detail { diff --git a/include/boost/intrusive/detail/function_detector.hpp b/include/boost/intrusive/detail/function_detector.hpp index a59b14d..f72865d 100644 --- a/include/boost/intrusive/detail/function_detector.hpp +++ b/include/boost/intrusive/detail/function_detector.hpp @@ -22,6 +22,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_FUNCTION_DETECTOR_HPP #define BOOST_INTRUSIVE_DETAIL_FUNCTION_DETECTOR_HPP +#if defined(_MSC_VER) +# pragma once +#endif + namespace boost { namespace intrusive { namespace function_detector { diff --git a/include/boost/intrusive/detail/generic_hook.hpp b/include/boost/intrusive/detail/generic_hook.hpp index 2afbf0e..41f3763 100644 --- a/include/boost/intrusive/detail/generic_hook.hpp +++ b/include/boost/intrusive/detail/generic_hook.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_GENERIC_HOOK_HPP #define BOOST_INTRUSIVE_GENERIC_HOOK_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/detail/hashtable_node.hpp b/include/boost/intrusive/detail/hashtable_node.hpp index bf5216b..6449fa0 100644 --- a/include/boost/intrusive/detail/hashtable_node.hpp +++ b/include/boost/intrusive/detail/hashtable_node.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_HASHTABLE_NODE_HPP #define BOOST_INTRUSIVE_HASHTABLE_NODE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/detail/hook_traits.hpp b/include/boost/intrusive/detail/hook_traits.hpp index 498e156..e0aeb29 100644 --- a/include/boost/intrusive/detail/hook_traits.hpp +++ b/include/boost/intrusive/detail/hook_traits.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_HOOK_TRAITS_HPP #define BOOST_INTRUSIVE_DETAIL_HOOK_TRAITS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/detail/iiterator.hpp b/include/boost/intrusive/detail/iiterator.hpp index 07cce09..8378ead 100644 --- a/include/boost/intrusive/detail/iiterator.hpp +++ b/include/boost/intrusive/detail/iiterator.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_IITERATOR_HPP #define BOOST_INTRUSIVE_DETAIL_IITERATOR_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/detail/is_stateful_value_traits.hpp b/include/boost/intrusive/detail/is_stateful_value_traits.hpp index 3520b68..da2260e 100644 --- a/include/boost/intrusive/detail/is_stateful_value_traits.hpp +++ b/include/boost/intrusive/detail/is_stateful_value_traits.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_IS_STATEFUL_VALUE_TRAITS_HPP #define BOOST_INTRUSIVE_DETAIL_IS_STATEFUL_VALUE_TRAITS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #if defined(_MSC_VER) && (_MSC_VER <= 1310) #include diff --git a/include/boost/intrusive/detail/key_nodeptr_comp.hpp b/include/boost/intrusive/detail/key_nodeptr_comp.hpp index 757176d..dfee8b9 100644 --- a/include/boost/intrusive/detail/key_nodeptr_comp.hpp +++ b/include/boost/intrusive/detail/key_nodeptr_comp.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_KEY_NODEPTR_COMP_HPP #define BOOST_INTRUSIVE_DETAIL_KEY_NODEPTR_COMP_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/detail/list_iterator.hpp b/include/boost/intrusive/detail/list_iterator.hpp index b73d6f8..efddfba 100644 --- a/include/boost/intrusive/detail/list_iterator.hpp +++ b/include/boost/intrusive/detail/list_iterator.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_LIST_ITERATOR_HPP #define BOOST_INTRUSIVE_LIST_ITERATOR_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/detail/list_node.hpp b/include/boost/intrusive/detail/list_node.hpp index 86f2da8..ba97ece 100644 --- a/include/boost/intrusive/detail/list_node.hpp +++ b/include/boost/intrusive/detail/list_node.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_LIST_NODE_HPP #define BOOST_INTRUSIVE_LIST_NODE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include namespace boost { diff --git a/include/boost/intrusive/detail/math.hpp b/include/boost/intrusive/detail/math.hpp index 55b659c..f212ae7 100644 --- a/include/boost/intrusive/detail/math.hpp +++ b/include/boost/intrusive/detail/math.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_MATH_HPP #define BOOST_INTRUSIVE_DETAIL_MATH_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/detail/mpl.hpp b/include/boost/intrusive/detail/mpl.hpp index 0ee7058..9b2c9f1 100644 --- a/include/boost/intrusive/detail/mpl.hpp +++ b/include/boost/intrusive/detail/mpl.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_MPL_HPP #define BOOST_INTRUSIVE_DETAIL_MPL_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/detail/node_cloner_disposer.hpp b/include/boost/intrusive/detail/node_cloner_disposer.hpp index b982825..2a18100 100644 --- a/include/boost/intrusive/detail/node_cloner_disposer.hpp +++ b/include/boost/intrusive/detail/node_cloner_disposer.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_NODE_CLONER_DISPOSER_HPP #define BOOST_INTRUSIVE_DETAIL_NODE_CLONER_DISPOSER_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/detail/node_holder.hpp b/include/boost/intrusive/detail/node_holder.hpp index 6f2014e..12732a8 100644 --- a/include/boost/intrusive/detail/node_holder.hpp +++ b/include/boost/intrusive/detail/node_holder.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_NODE_HOLDER_HPP #define BOOST_INTRUSIVE_DETAIL_NODE_HOLDER_HPP +#if defined(_MSC_VER) +# pragma once +#endif + namespace boost { namespace intrusive { diff --git a/include/boost/intrusive/detail/node_to_value.hpp b/include/boost/intrusive/detail/node_to_value.hpp index c43425d..6ec3971 100644 --- a/include/boost/intrusive/detail/node_to_value.hpp +++ b/include/boost/intrusive/detail/node_to_value.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_NODE_TO_VALUE_HPP #define BOOST_INTRUSIVE_DETAIL_NODE_TO_VALUE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/detail/parent_from_member.hpp b/include/boost/intrusive/detail/parent_from_member.hpp index a7f2f57..3dfe8d6 100644 --- a/include/boost/intrusive/detail/parent_from_member.hpp +++ b/include/boost/intrusive/detail/parent_from_member.hpp @@ -12,6 +12,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_PARENT_FROM_MEMBER_HPP #define BOOST_INTRUSIVE_DETAIL_PARENT_FROM_MEMBER_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/detail/rbtree_node.hpp b/include/boost/intrusive/detail/rbtree_node.hpp index ec44a3f..ab50509 100644 --- a/include/boost/intrusive/detail/rbtree_node.hpp +++ b/include/boost/intrusive/detail/rbtree_node.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_RBTREE_NODE_HPP #define BOOST_INTRUSIVE_RBTREE_NODE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/detail/reverse_iterator.hpp b/include/boost/intrusive/detail/reverse_iterator.hpp index 35fe76b..9f443ab 100644 --- a/include/boost/intrusive/detail/reverse_iterator.hpp +++ b/include/boost/intrusive/detail/reverse_iterator.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_ITERATOR_HPP #define BOOST_INTRUSIVE_DETAIL_ITERATOR_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/detail/simple_disposers.hpp b/include/boost/intrusive/detail/simple_disposers.hpp index 775651a..af59772 100644 --- a/include/boost/intrusive/detail/simple_disposers.hpp +++ b/include/boost/intrusive/detail/simple_disposers.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_SIMPLE_DISPOSERS_HPP #define BOOST_INTRUSIVE_DETAIL_SIMPLE_DISPOSERS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + namespace boost { namespace intrusive { namespace detail { diff --git a/include/boost/intrusive/detail/size_holder.hpp b/include/boost/intrusive/detail/size_holder.hpp index 99fdb5e..a733187 100644 --- a/include/boost/intrusive/detail/size_holder.hpp +++ b/include/boost/intrusive/detail/size_holder.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_SIZE_HOLDER_HPP #define BOOST_INTRUSIVE_DETAIL_SIZE_HOLDER_HPP +#if defined(_MSC_VER) +# pragma once +#endif + namespace boost { namespace intrusive { namespace detail { diff --git a/include/boost/intrusive/detail/slist_iterator.hpp b/include/boost/intrusive/detail/slist_iterator.hpp index 0dd7209..579c660 100644 --- a/include/boost/intrusive/detail/slist_iterator.hpp +++ b/include/boost/intrusive/detail/slist_iterator.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_SLIST_ITERATOR_HPP #define BOOST_INTRUSIVE_SLIST_ITERATOR_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/detail/slist_node.hpp b/include/boost/intrusive/detail/slist_node.hpp index b31c1f3..437190e 100644 --- a/include/boost/intrusive/detail/slist_node.hpp +++ b/include/boost/intrusive/detail/slist_node.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_SLIST_NODE_HPP #define BOOST_INTRUSIVE_SLIST_NODE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/detail/to_raw_pointer.hpp b/include/boost/intrusive/detail/to_raw_pointer.hpp index e46d463..e7ebff9 100644 --- a/include/boost/intrusive/detail/to_raw_pointer.hpp +++ b/include/boost/intrusive/detail/to_raw_pointer.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_TO_RAW_POINTER_HPP #define BOOST_INTRUSIVE_DETAIL_TO_RAW_POINTER_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/detail/transform_iterator.hpp b/include/boost/intrusive/detail/transform_iterator.hpp index 81d95e7..698318b 100644 --- a/include/boost/intrusive/detail/transform_iterator.hpp +++ b/include/boost/intrusive/detail/transform_iterator.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_TRANSFORM_ITERATOR_HPP #define BOOST_INTRUSIVE_DETAIL_TRANSFORM_ITERATOR_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/detail/tree_iterator.hpp b/include/boost/intrusive/detail/tree_iterator.hpp index b5574d4..c3b599d 100644 --- a/include/boost/intrusive/detail/tree_iterator.hpp +++ b/include/boost/intrusive/detail/tree_iterator.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_TREE_ITERATOR_HPP #define BOOST_INTRUSIVE_TREE_ITERATOR_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/detail/tree_node.hpp b/include/boost/intrusive/detail/tree_node.hpp index ad45000..653d6fc 100644 --- a/include/boost/intrusive/detail/tree_node.hpp +++ b/include/boost/intrusive/detail/tree_node.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_TREE_NODE_HPP #define BOOST_INTRUSIVE_TREE_NODE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/detail/uncast.hpp b/include/boost/intrusive/detail/uncast.hpp index 0a5e9cb..944b6cd 100644 --- a/include/boost/intrusive/detail/uncast.hpp +++ b/include/boost/intrusive/detail/uncast.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_UNCAST_HPP #define BOOST_INTRUSIVE_DETAIL_UNCAST_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/detail/workaround.hpp b/include/boost/intrusive/detail/workaround.hpp index 4aaf1ae..ad00691 100644 --- a/include/boost/intrusive/detail/workaround.hpp +++ b/include/boost/intrusive/detail/workaround.hpp @@ -11,6 +11,10 @@ #ifndef BOOST_INTRUSIVE_DETAIL_WRKRND_HPP #define BOOST_INTRUSIVE_DETAIL_WRKRND_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #ifndef BOOST_CONFIG_HPP #include #endif diff --git a/include/boost/intrusive/hashtable.hpp b/include/boost/intrusive/hashtable.hpp index b40def8..8deb44b 100644 --- a/include/boost/intrusive/hashtable.hpp +++ b/include/boost/intrusive/hashtable.hpp @@ -12,6 +12,10 @@ #ifndef BOOST_INTRUSIVE_HASHTABLE_HPP #define BOOST_INTRUSIVE_HASHTABLE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include //std C++ diff --git a/include/boost/intrusive/intrusive_fwd.hpp b/include/boost/intrusive/intrusive_fwd.hpp index b988ae5..a449816 100644 --- a/include/boost/intrusive/intrusive_fwd.hpp +++ b/include/boost/intrusive/intrusive_fwd.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_FWD_HPP #define BOOST_INTRUSIVE_FWD_HPP +#if defined(_MSC_VER) +# pragma once +#endif + //! \file //! This header file forward declares most Intrusive classes. //! diff --git a/include/boost/intrusive/linear_slist_algorithms.hpp b/include/boost/intrusive/linear_slist_algorithms.hpp index ca04917..31e5594 100644 --- a/include/boost/intrusive/linear_slist_algorithms.hpp +++ b/include/boost/intrusive/linear_slist_algorithms.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_LINEAR_SLIST_ALGORITHMS_HPP #define BOOST_INTRUSIVE_LINEAR_SLIST_ALGORITHMS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/link_mode.hpp b/include/boost/intrusive/link_mode.hpp index e353a05..c7245d9 100644 --- a/include/boost/intrusive/link_mode.hpp +++ b/include/boost/intrusive/link_mode.hpp @@ -10,8 +10,12 @@ // ///////////////////////////////////////////////////////////////////////////// -#ifndef BOOST_INTRUSIVE_VALUE_LINK_TYPE_HPP -#define BOOST_INTRUSIVE_VALUE_LINK_TYPE_HPP +#ifndef BOOST_INTRUSIVE_LINK_MODE_HPP +#define BOOST_INTRUSIVE_LINK_MODE_HPP + +#if defined(_MSC_VER) +# pragma once +#endif namespace boost { namespace intrusive { @@ -56,4 +60,4 @@ struct is_safe_autounlink } //namespace intrusive } //namespace boost -#endif //BOOST_INTRUSIVE_VALUE_LINK_TYPE_HPP +#endif //BOOST_INTRUSIVE_LINK_MODE_HPP diff --git a/include/boost/intrusive/list.hpp b/include/boost/intrusive/list.hpp index a7efef5..3443654 100644 --- a/include/boost/intrusive/list.hpp +++ b/include/boost/intrusive/list.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_LIST_HPP #define BOOST_INTRUSIVE_LIST_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/list_hook.hpp b/include/boost/intrusive/list_hook.hpp index e7a0ced..1a06a98 100644 --- a/include/boost/intrusive/list_hook.hpp +++ b/include/boost/intrusive/list_hook.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_LIST_HOOK_HPP #define BOOST_INTRUSIVE_LIST_HOOK_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/member_value_traits.hpp b/include/boost/intrusive/member_value_traits.hpp index 84fe61f..96c50ee 100644 --- a/include/boost/intrusive/member_value_traits.hpp +++ b/include/boost/intrusive/member_value_traits.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_MEMBER_VALUE_TRAITS_HPP #define BOOST_INTRUSIVE_MEMBER_VALUE_TRAITS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/options.hpp b/include/boost/intrusive/options.hpp index 5cc80d8..efa9386 100644 --- a/include/boost/intrusive/options.hpp +++ b/include/boost/intrusive/options.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_OPTIONS_HPP #define BOOST_INTRUSIVE_OPTIONS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/pack_options.hpp b/include/boost/intrusive/pack_options.hpp index 7d282dd..077b08b 100644 --- a/include/boost/intrusive/pack_options.hpp +++ b/include/boost/intrusive/pack_options.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_PACK_OPTIONS_HPP #define BOOST_INTRUSIVE_PACK_OPTIONS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include namespace boost { diff --git a/include/boost/intrusive/parent_from_member.hpp b/include/boost/intrusive/parent_from_member.hpp index 0f3eb5c..e6be5bc 100644 --- a/include/boost/intrusive/parent_from_member.hpp +++ b/include/boost/intrusive/parent_from_member.hpp @@ -9,8 +9,12 @@ // See http://www.boost.org/libs/intrusive for documentation. // ///////////////////////////////////////////////////////////////////////////// -#ifndef BOOST_INTRUSIVE_GET_PARENT_FROM_MEMBER_HPP -#define BOOST_INTRUSIVE_GET_PARENT_FROM_MEMBER_HPP +#ifndef BOOST_INTRUSIVE_PARENT_FROM_MEMBER_HPP +#define BOOST_INTRUSIVE_PARENT_FROM_MEMBER_HPP + +#if defined(_MSC_VER) +# pragma once +#endif #include #include @@ -41,4 +45,4 @@ inline const Parent *get_parent_from_member(const Member *member, const Member P #include -#endif //#ifndef BOOST_INTRUSIVE_GET_PARENT_FROM_MEMBER_HPP +#endif //#ifndef BOOST_INTRUSIVE_PARENT_FROM_MEMBER_HPP diff --git a/include/boost/intrusive/pointer_plus_bits.hpp b/include/boost/intrusive/pointer_plus_bits.hpp index 3893d66..1fcf67a 100644 --- a/include/boost/intrusive/pointer_plus_bits.hpp +++ b/include/boost/intrusive/pointer_plus_bits.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_POINTER_PLUS_BITS_HPP #define BOOST_INTRUSIVE_POINTER_PLUS_BITS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include //ls_zeros diff --git a/include/boost/intrusive/priority_compare.hpp b/include/boost/intrusive/priority_compare.hpp index e2f4495..419a7d2 100644 --- a/include/boost/intrusive/priority_compare.hpp +++ b/include/boost/intrusive/priority_compare.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_PRIORITY_COMPARE_HPP #define BOOST_INTRUSIVE_PRIORITY_COMPARE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/rbtree.hpp b/include/boost/intrusive/rbtree.hpp index d5071a0..f595a90 100644 --- a/include/boost/intrusive/rbtree.hpp +++ b/include/boost/intrusive/rbtree.hpp @@ -12,6 +12,10 @@ #ifndef BOOST_INTRUSIVE_RBTREE_HPP #define BOOST_INTRUSIVE_RBTREE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/rbtree_algorithms.hpp b/include/boost/intrusive/rbtree_algorithms.hpp index 90960cf..376deaf 100644 --- a/include/boost/intrusive/rbtree_algorithms.hpp +++ b/include/boost/intrusive/rbtree_algorithms.hpp @@ -23,6 +23,10 @@ #ifndef BOOST_INTRUSIVE_RBTREE_ALGORITHMS_HPP #define BOOST_INTRUSIVE_RBTREE_ALGORITHMS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/set.hpp b/include/boost/intrusive/set.hpp index c4a6b3a..b8366a2 100644 --- a/include/boost/intrusive/set.hpp +++ b/include/boost/intrusive/set.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_SET_HPP #define BOOST_INTRUSIVE_SET_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/set_hook.hpp b/include/boost/intrusive/set_hook.hpp index 86e4047..ce984a3 100644 --- a/include/boost/intrusive/set_hook.hpp +++ b/include/boost/intrusive/set_hook.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_SET_HOOK_HPP #define BOOST_INTRUSIVE_SET_HOOK_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/sg_set.hpp b/include/boost/intrusive/sg_set.hpp index 675c74c..6c1477a 100644 --- a/include/boost/intrusive/sg_set.hpp +++ b/include/boost/intrusive/sg_set.hpp @@ -12,6 +12,10 @@ #ifndef BOOST_INTRUSIVE_SG_SET_HPP #define BOOST_INTRUSIVE_SG_SET_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/sgtree.hpp b/include/boost/intrusive/sgtree.hpp index 95c9763..cbeacdb 100644 --- a/include/boost/intrusive/sgtree.hpp +++ b/include/boost/intrusive/sgtree.hpp @@ -18,6 +18,10 @@ #ifndef BOOST_INTRUSIVE_SGTREE_HPP #define BOOST_INTRUSIVE_SGTREE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/sgtree_algorithms.hpp b/include/boost/intrusive/sgtree_algorithms.hpp index 2ec6e76..cb5f71c 100644 --- a/include/boost/intrusive/sgtree_algorithms.hpp +++ b/include/boost/intrusive/sgtree_algorithms.hpp @@ -17,6 +17,10 @@ #ifndef BOOST_INTRUSIVE_SGTREE_ALGORITHMS_HPP #define BOOST_INTRUSIVE_SGTREE_ALGORITHMS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/slist.hpp b/include/boost/intrusive/slist.hpp index 37c226d..d5d8d2e 100644 --- a/include/boost/intrusive/slist.hpp +++ b/include/boost/intrusive/slist.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_SLIST_HPP #define BOOST_INTRUSIVE_SLIST_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/slist_hook.hpp b/include/boost/intrusive/slist_hook.hpp index b7d19aa..18b59ed 100644 --- a/include/boost/intrusive/slist_hook.hpp +++ b/include/boost/intrusive/slist_hook.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_SLIST_HOOK_HPP #define BOOST_INTRUSIVE_SLIST_HOOK_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/splay_set.hpp b/include/boost/intrusive/splay_set.hpp index 6d75c06..cefc792 100644 --- a/include/boost/intrusive/splay_set.hpp +++ b/include/boost/intrusive/splay_set.hpp @@ -12,6 +12,10 @@ #ifndef BOOST_INTRUSIVE_SPLAY_SET_HPP #define BOOST_INTRUSIVE_SPLAY_SET_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/splaytree.hpp b/include/boost/intrusive/splaytree.hpp index 51d86e6..3ca50fc 100644 --- a/include/boost/intrusive/splaytree.hpp +++ b/include/boost/intrusive/splaytree.hpp @@ -12,6 +12,10 @@ #ifndef BOOST_INTRUSIVE_SPLAYTREE_HPP #define BOOST_INTRUSIVE_SPLAYTREE_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/splaytree_algorithms.hpp b/include/boost/intrusive/splaytree_algorithms.hpp index 98ca74e..c49714a 100644 --- a/include/boost/intrusive/splaytree_algorithms.hpp +++ b/include/boost/intrusive/splaytree_algorithms.hpp @@ -30,6 +30,10 @@ #ifndef BOOST_INTRUSIVE_SPLAYTREE_ALGORITHMS_HPP #define BOOST_INTRUSIVE_SPLAYTREE_ALGORITHMS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/treap.hpp b/include/boost/intrusive/treap.hpp index 1601e22..638cef9 100644 --- a/include/boost/intrusive/treap.hpp +++ b/include/boost/intrusive/treap.hpp @@ -12,6 +12,10 @@ #ifndef BOOST_INTRUSIVE_TREAP_HPP #define BOOST_INTRUSIVE_TREAP_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/treap_algorithms.hpp b/include/boost/intrusive/treap_algorithms.hpp index e0d9dfb..787c3d0 100644 --- a/include/boost/intrusive/treap_algorithms.hpp +++ b/include/boost/intrusive/treap_algorithms.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_TREAP_ALGORITHMS_HPP #define BOOST_INTRUSIVE_TREAP_ALGORITHMS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include diff --git a/include/boost/intrusive/treap_set.hpp b/include/boost/intrusive/treap_set.hpp index 936109d..ef68b05 100644 --- a/include/boost/intrusive/treap_set.hpp +++ b/include/boost/intrusive/treap_set.hpp @@ -9,8 +9,12 @@ // See http://www.boost.org/libs/intrusive for documentation. // ///////////////////////////////////////////////////////////////////////////// -#ifndef BOOST_INTRUSIVE_TRIE_SET_HPP -#define BOOST_INTRUSIVE_TRIE_SET_HPP +#ifndef BOOST_INTRUSIVE_TREAP_SET_HPP +#define BOOST_INTRUSIVE_TREAP_SET_HPP + +#if defined(_MSC_VER) +# pragma once +#endif #include #include @@ -1001,4 +1005,4 @@ class treap_multiset #include -#endif //BOOST_INTRUSIVE_TRIE_SET_HPP +#endif //BOOST_INTRUSIVE_TREAP_SET_HPP diff --git a/include/boost/intrusive/trivial_value_traits.hpp b/include/boost/intrusive/trivial_value_traits.hpp index 7615f16..18d28be 100644 --- a/include/boost/intrusive/trivial_value_traits.hpp +++ b/include/boost/intrusive/trivial_value_traits.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_TRIVIAL_VALUE_TRAITS_HPP #define BOOST_INTRUSIVE_TRIVIAL_VALUE_TRAITS_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/unordered_set.hpp b/include/boost/intrusive/unordered_set.hpp index 472efe8..e47f3ba 100644 --- a/include/boost/intrusive/unordered_set.hpp +++ b/include/boost/intrusive/unordered_set.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_INTRUSIVE_UNORDERED_SET_HPP #define BOOST_INTRUSIVE_UNORDERED_SET_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include #include diff --git a/include/boost/intrusive/unordered_set_hook.hpp b/include/boost/intrusive/unordered_set_hook.hpp index 9e1ea4b..7406c94 100644 --- a/include/boost/intrusive/unordered_set_hook.hpp +++ b/include/boost/intrusive/unordered_set_hook.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_INTRUSIVE_UNORDERED_SET_HOOK_HPP #define BOOST_INTRUSIVE_UNORDERED_SET_HOOK_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include