Skip to content

Commit 45baad2

Browse files
committed
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.
1 parent 5408a17 commit 45baad2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

string/test/split_test.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void iterator_test()
8585
deep_compare( tokens, vtokens );
8686

8787
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
88-
// If using a compiler that supports forwarding references, we should be able to use lvalues, too
88+
// If using a compiler that supports forwarding references, we should be able to use rvalues, too
8989
find_all(
9090
tokens,
9191
string("xx-abc--xx-abb"),
@@ -169,7 +169,7 @@ void iterator_test()
169169
BOOST_CHECK( tokens[0]==string("") );
170170

171171
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
172-
// If using a compiler that supports forwarding references, we should be able to use lvalues, too
172+
// If using a compiler that supports forwarding references, we should be able to use rvalues, too
173173
split(
174174
tokens,
175175
string("Xx-abc--xX-abb-xx"),

0 commit comments

Comments
 (0)