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

@ -105,7 +105,7 @@
BOOST_PP_CAT(vector, N)(
Sequence const& seq
#if (N == 1)
, typename disable_if<is_convertible<Sequence, T0> >::type* dummy = 0
, typename disable_if<is_convertible<Sequence, T0> >::type* /*dummy*/ = 0
#endif
)
: base_type(base_type::init_from_sequence(seq)) {}
@ -133,14 +133,14 @@
template<typename I>
typename add_reference<typename mpl::at<types, I>::type>::type
at_impl(I i)
at_impl(I)
{
return this->at_impl(mpl::int_<I::value>());
}
template<typename I>
typename add_reference<typename add_const<typename mpl::at<types, I>::type>::type>::type
at_impl(I i) const
at_impl(I) const
{
return this->at_impl(mpl::int_<I::value>());
}