Fusion: resolved const correctness issue

[SVN r56381]
This commit is contained in:
Hartmut Kaiser
2009-09-25 13:57:30 +00:00
parent 10c0665ffa
commit 37f57fbf7f
5 changed files with 13 additions and 12 deletions

View File

@ -30,11 +30,12 @@ namespace boost { namespace fusion
typedef typename Iterator::sequence_type sequence_type;
typedef typename result_of::deref<first_type>::type index;
typedef typename result_of::at<sequence_type, index>::type type;
typedef typename result_of::at<
typename sequence_type::sequence_type, index>::type type;
static type call(Iterator const& i)
{
return at<index>(i.seq);
return at<index>(i.seq.seq);
}
};
};