Changed default_tag

This commit is contained in:
Ion Gaztañaga
2014-11-01 19:57:24 +01:00
parent 3eff274cb3
commit 960c85587f
2 changed files with 3 additions and 4 deletions

View File

@@ -140,7 +140,7 @@ class generic_hook
//value_traits for this hook. //value_traits for this hook.
, public hook_tags_definer , public hook_tags_definer
< generic_hook<NodeAlgorithms, Tag, LinkMode, BaseHookType> < generic_hook<NodeAlgorithms, Tag, LinkMode, BaseHookType>
, detail::is_same<Tag, default_tag>::value*BaseHookType> , detail::is_same<Tag, dft_tag>::value*BaseHookType>
/// @endcond /// @endcond
{ {
/// @cond /// @cond

View File

@@ -37,8 +37,7 @@ struct fhtraits;
template<class T, class Hook, Hook T::* P> template<class T, class Hook, Hook T::* P>
struct mhtraits; struct mhtraits;
//typedef void default_tag; struct dft_tag;
struct default_tag;
struct member_tag; struct member_tag;
template<class SupposedValueTraits> template<class SupposedValueTraits>
@@ -231,7 +230,7 @@ struct hook_defaults
{ {
typedef void* void_pointer; typedef void* void_pointer;
static const link_mode_type link_mode = safe_link; 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 optimize_size = false;
static const bool store_hash = false; static const bool store_hash = false;
static const bool linear = false; static const bool linear = false;