Fusion: silenced a couple of MSVC warnings created during Spirit test runs

[SVN r57502]
This commit is contained in:
Hartmut Kaiser
2009-11-09 03:57:40 +00:00
parent 65895017bd
commit 03290abb85
10 changed files with 40 additions and 8 deletions

View File

@@ -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&);
};
}}

View File

@@ -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&);
};
}}

View File

@@ -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&);
};
}}

View File

@@ -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&);
};
}}