mirror of
https://github.com/boostorg/concept_check.git
synced 2025-07-30 12:37:34 +02:00
Suppress warnings on msvc 10.
[SVN r70699]
This commit is contained in:
@ -562,10 +562,10 @@ namespace boost
|
|||||||
: ForwardIterator<TT>
|
: ForwardIterator<TT>
|
||||||
{
|
{
|
||||||
BOOST_CONCEPT_USAGE(Mutable_ForwardIterator) {
|
BOOST_CONCEPT_USAGE(Mutable_ForwardIterator) {
|
||||||
*i++ = *i; // require postincrement and assignment
|
*i++ = *j; // require postincrement and assignment
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
TT i;
|
TT i, j;
|
||||||
};
|
};
|
||||||
|
|
||||||
BOOST_concept(BidirectionalIterator,(TT))
|
BOOST_concept(BidirectionalIterator,(TT))
|
||||||
@ -591,10 +591,10 @@ namespace boost
|
|||||||
{
|
{
|
||||||
BOOST_CONCEPT_USAGE(Mutable_BidirectionalIterator)
|
BOOST_CONCEPT_USAGE(Mutable_BidirectionalIterator)
|
||||||
{
|
{
|
||||||
*i-- = *i; // require postdecrement and assignment
|
*i-- = *j; // require postdecrement and assignment
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
TT i;
|
TT i, j;
|
||||||
};
|
};
|
||||||
|
|
||||||
BOOST_concept(RandomAccessIterator,(TT))
|
BOOST_concept(RandomAccessIterator,(TT))
|
||||||
|
Reference in New Issue
Block a user