forked from boostorg/fusion
Fusion: resolved const correctness issue
[SVN r56381]
This commit is contained in:
@ -30,15 +30,14 @@ namespace boost { namespace fusion
|
||||
template <typename Sequence>
|
||||
struct apply
|
||||
{
|
||||
typedef typename Sequence::sequence_type sequence_type;
|
||||
typedef typename Sequence::index_type index_type;
|
||||
|
||||
typedef nview_iterator<sequence_type,
|
||||
typedef nview_iterator<Sequence,
|
||||
typename mpl::end<index_type>::type> type;
|
||||
|
||||
static type call(Sequence& v)
|
||||
static type call(Sequence& s)
|
||||
{
|
||||
return type(v.seq);
|
||||
return type(s);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user