ODR safe code

[SVN r35275]
This commit is contained in:
Joel de Guzman
2006-09-22 13:39:27 +00:00
parent da23c8a4cc
commit a37b435ce6
22 changed files with 269 additions and 21 deletions

View File

@ -13,6 +13,10 @@
namespace boost { namespace fusion
{
struct array_tag; // boost::array tag
struct mpl_sequence_tag; // mpl sequence tag
struct std_pair_tag; // std::pair tag
namespace extension
{
template<typename Tag>
@ -23,6 +27,15 @@ namespace boost { namespace fusion
: detail::fusion_is_view<T>
{};
};
template <>
struct is_view_impl<array_tag>;
template <>
struct is_view_impl<mpl_sequence_tag>;
template <>
struct is_view_impl<std_pair_tag>;
}
namespace traits
@ -32,6 +45,7 @@ namespace boost { namespace fusion
extension::is_view_impl<typename detail::tag_of<T>::type>::
template apply<T>::type
{};
}}}
}
}}
#endif