forked from boostorg/fusion
Fusion: silenced a couple of MSVC warnings created during Spirit test runs
[SVN r57502]
This commit is contained in:
@@ -53,6 +53,10 @@ namespace boost { namespace fusion
|
||||
first_type first() const { return fusion::begin(seq); }
|
||||
last_type last() const { return fusion::end(seq); }
|
||||
typename mpl::if_<traits::is_view<Sequence>, Sequence, Sequence&>::type seq;
|
||||
|
||||
private:
|
||||
// silence MSVC warning C4512: assignment operator could not be generated
|
||||
filter_view& operator= (filter_view const&);
|
||||
};
|
||||
}}
|
||||
|
||||
|
@@ -45,6 +45,10 @@ namespace boost { namespace fusion
|
||||
: seq(seq) {}
|
||||
|
||||
Sequence& seq;
|
||||
|
||||
private:
|
||||
// silence MSVC warning C4512: assignment operator could not be generated
|
||||
nview_iterator& operator= (nview_iterator const&);
|
||||
};
|
||||
|
||||
}}
|
||||
|
@@ -99,6 +99,10 @@ namespace boost { namespace fusion
|
||||
last_type last() const { return fusion::end(seq); }
|
||||
typename mpl::if_<traits::is_view<Sequence>, Sequence, Sequence&>::type seq;
|
||||
transform_type f;
|
||||
|
||||
private:
|
||||
// silence MSVC warning C4512: assignment operator could not be generated
|
||||
transform_view& operator= (transform_view const&);
|
||||
};
|
||||
}}
|
||||
|
||||
|
@@ -39,6 +39,10 @@ namespace boost { namespace fusion
|
||||
|
||||
first_type first;
|
||||
transform_type f;
|
||||
|
||||
private:
|
||||
// silence MSVC warning C4512: assignment operator could not be generated
|
||||
transform_view_iterator& operator= (transform_view_iterator const&);
|
||||
};
|
||||
|
||||
// Binary Version
|
||||
@@ -62,6 +66,10 @@ namespace boost { namespace fusion
|
||||
first1_type first1;
|
||||
first2_type first2;
|
||||
transform_type f;
|
||||
|
||||
private:
|
||||
// silence MSVC warning C4512: assignment operator could not be generated
|
||||
transform_view_iterator2& operator= (transform_view_iterator2 const&);
|
||||
};
|
||||
}}
|
||||
|
||||
|
Reference in New Issue
Block a user