forked from boostorg/algorithm
Correct lvalue/rvalue nomenclature
I accidentally referred to the additional tests as using lvalues as inputs, when they’re actually using rvalues. This commit corrects the relevant comments.
This commit is contained in:
@ -85,7 +85,7 @@ void iterator_test()
|
|||||||
deep_compare( tokens, vtokens );
|
deep_compare( tokens, vtokens );
|
||||||
|
|
||||||
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
||||||
// If using a compiler that supports forwarding references, we should be able to use lvalues, too
|
// If using a compiler that supports forwarding references, we should be able to use rvalues, too
|
||||||
find_all(
|
find_all(
|
||||||
tokens,
|
tokens,
|
||||||
string("xx-abc--xx-abb"),
|
string("xx-abc--xx-abb"),
|
||||||
@ -169,7 +169,7 @@ void iterator_test()
|
|||||||
BOOST_CHECK( tokens[0]==string("") );
|
BOOST_CHECK( tokens[0]==string("") );
|
||||||
|
|
||||||
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
||||||
// If using a compiler that supports forwarding references, we should be able to use lvalues, too
|
// If using a compiler that supports forwarding references, we should be able to use rvalues, too
|
||||||
split(
|
split(
|
||||||
tokens,
|
tokens,
|
||||||
string("Xx-abc--xX-abb-xx"),
|
string("Xx-abc--xX-abb-xx"),
|
||||||
|
Reference in New Issue
Block a user