summaryrefslogtreecommitdiff
path: root/boost/intrusive/options.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/intrusive/options.hpp')
-rw-r--r--boost/intrusive/options.hpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/boost/intrusive/options.hpp b/boost/intrusive/options.hpp
index 9a77750c7f..ec6e9674d9 100644
--- a/boost/intrusive/options.hpp
+++ b/boost/intrusive/options.hpp
@@ -13,16 +13,16 @@
#ifndef BOOST_INTRUSIVE_OPTIONS_HPP
#define BOOST_INTRUSIVE_OPTIONS_HPP
-#if defined(_MSC_VER)
-# pragma once
-#endif
-
#include <boost/intrusive/detail/config_begin.hpp>
#include <boost/intrusive/intrusive_fwd.hpp>
#include <boost/intrusive/link_mode.hpp>
#include <boost/intrusive/pack_options.hpp>
#include <boost/intrusive/detail/mpl.hpp>
+#if defined(BOOST_HAS_PRAGMA_ONCE)
+# pragma once
+#endif
+
namespace boost {
namespace intrusive {
@@ -37,8 +37,7 @@ struct fhtraits;
template<class T, class Hook, Hook T::* P>
struct mhtraits;
-//typedef void default_tag;
-struct default_tag;
+struct dft_tag;
struct member_tag;
template<class SupposedValueTraits>
@@ -127,7 +126,7 @@ struct member_hook
// //always single inheritance, the offset of the node is exactly the offset of
// //the hook. Since the node type is shared between all member hooks, this saves
// //quite a lot of symbol stuff.
-// , (Ptr2MemNode)PtrToMember
+// , (Ptr2MemNode)PtrToMember
// , MemberHook::hooktags::link_mode> member_value_traits;
typedef mhtraits <Parent, MemberHook, PtrToMember> member_value_traits;
template<class Base>
@@ -231,7 +230,7 @@ struct hook_defaults
{
typedef void* void_pointer;
static const link_mode_type link_mode = safe_link;
- typedef default_tag tag;
+ typedef dft_tag tag;
static const bool optimize_size = false;
static const bool store_hash = false;
static const bool linear = false;