Fusion: removed fusion::sequence_root; Fixes #2335

[SVN r66411]
This commit is contained in:
Christopher Schmidt
2010-11-06 12:21:18 +00:00
parent 09bd088660
commit 6eba238b69
7 changed files with 59 additions and 18 deletions

View File

@ -12,10 +12,14 @@
namespace boost { namespace fusion
{
struct sequence_root {};
namespace detail
{
struct from_sequence_convertible_type
{};
}
template <typename Sequence>
struct sequence_base : sequence_root
struct sequence_base
{
Sequence const&
derived() const
@ -28,6 +32,11 @@ namespace boost { namespace fusion
{
return static_cast<Sequence&>(*this);
}
operator detail::from_sequence_convertible_type()const
{
return detail::from_sequence_convertible_type();
}
};
struct fusion_sequence_tag;