mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-06 08:14:32 +02:00
Fix warnings about comparison of unsigned and signed values.
[SVN r23892]
This commit is contained in:
@@ -79,7 +79,7 @@ int main()
|
|||||||
|
|
||||||
mpl::for_each< numbers >(value_printer(std::cout));
|
mpl::for_each< numbers >(value_printer(std::cout));
|
||||||
|
|
||||||
for (int i = 0; i < v.size(); ++i)
|
for (unsigned i = 0; i < v.size(); ++i)
|
||||||
assert(v[i] == i);
|
assert(v[i] == i);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@@ -44,7 +44,7 @@ int main()
|
|||||||
mpl::not_< boost::is_same<_1, char> >
|
mpl::not_< boost::is_same<_1, char> >
|
||||||
, mpl::not_< boost::is_float<_1> >
|
, mpl::not_< boost::is_float<_1> >
|
||||||
>
|
>
|
||||||
, mpl::greater< mpl::sizeof_<_1>, mpl::int_<8> >
|
, mpl::greater< mpl::sizeof_<_1>, mpl::size_t<8> >
|
||||||
>
|
>
|
||||||
>::type f1;
|
>::type f1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user