Compare commits

...

2 Commits

Author SHA1 Message Date
d69a9e9e8e Release 1.41.0
[SVN r57747]
2009-11-18 14:58:26 +00:00
b605617c4f Fusion: merged fixes for MSVC warnings from trunk
[SVN r57533]
2009-11-10 02:37:19 +00:00
29 changed files with 40 additions and 8 deletions

0
doc/html/images/alert.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 603 B

After

Width:  |  Height:  |  Size: 603 B

0
doc/html/images/home.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 358 B

After

Width:  |  Height:  |  Size: 358 B

0
doc/html/images/next.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 336 B

After

Width:  |  Height:  |  Size: 336 B

0
doc/html/images/note.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 658 B

After

Width:  |  Height:  |  Size: 658 B

0
doc/html/images/prev.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 334 B

After

Width:  |  Height:  |  Size: 334 B

0
doc/html/images/smiley.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 867 B

After

Width:  |  Height:  |  Size: 867 B

0
doc/html/images/tip.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 640 B

After

Width:  |  Height:  |  Size: 640 B

0
doc/html/images/up.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 370 B

After

Width:  |  Height:  |  Size: 370 B

View File

@ -95,6 +95,10 @@ namespace boost { namespace fusion
return type();
}
};
private:
// silence MSVC warning C4512: assignment operator could not be generated
struct_iterator& operator= (struct_iterator const&);
};
}}

View File

View File

0
include/boost/fusion/container/ext_/tree.hpp Executable file → Normal file
View File

View File

@ -34,11 +34,15 @@ namespace boost { namespace fusion
typedef cons_iterator_identity<
typename add_const<Cons>::type>
identity;
explicit cons_iterator(cons_type& cons)
: cons(cons) {}
cons_type& cons;
private:
// silence MSVC warning C4512: assignment operator could not be generated
cons_iterator& operator= (cons_iterator const&);
};
struct nil_iterator : iterator_base<nil_iterator>

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>());
}

View File

View File

View File

@ -35,7 +35,7 @@ namespace boost { namespace fusion { namespace detail
template <typename IS>
static void
read(IS& is, char const* delim, mpl::true_)
read(IS&, char const*, mpl::true_)
{
}
};
@ -44,7 +44,7 @@ namespace boost { namespace fusion { namespace detail
{
template <typename IS, typename First, typename Last>
static void
call(IS& is, First const&, Last const&, mpl::true_)
call(IS&, First const&, Last const&, mpl::true_)
{
}

View File

@ -146,6 +146,10 @@ namespace boost { namespace fusion
}
Stream& stream;
private:
// silence MSVC warning C4512: assignment operator could not be generated
string_ios_manip& operator= (string_ios_manip const&);
};
} // detail

View File

@ -35,7 +35,7 @@ namespace boost { namespace fusion { namespace detail
template <typename OS>
static void
print(OS& os, char const* delim, mpl::true_)
print(OS&, char const*, mpl::true_)
{
}
};
@ -44,7 +44,7 @@ namespace boost { namespace fusion { namespace detail
{
template <typename OS, typename First, typename Last>
static void
call(OS& os, First const&, Last const&, mpl::true_)
call(OS&, First const&, Last const&, mpl::true_)
{
}

0
include/boost/fusion/support/ext_/is_segmented.hpp Executable file → Normal file
View File

0
include/boost/fusion/view/ext_/multiple_view.hpp Executable file → Normal file
View File

View File

View File

@ -43,6 +43,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&);
};
}}

0
test/algorithm/ext_/find_if_s.cpp Executable file → Normal file
View File

0
test/algorithm/ext_/for_each_s.cpp Executable file → Normal file
View File

0
test/sequence/ext_/iterator_range_s.cpp Executable file → Normal file
View File