From 45baad2431913db14ff0d2d014226985bf3602ae Mon Sep 17 00:00:00 2001 From: Ben10do Date: Thu, 2 Aug 2018 22:18:54 +0100 Subject: [PATCH] Correct lvalue/rvalue nomenclature MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I accidentally referred to the additional tests as using lvalues as inputs, when they’re actually using rvalues. This commit corrects the relevant comments. --- string/test/split_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/string/test/split_test.cpp b/string/test/split_test.cpp index d7e9186..3dbcfac 100644 --- a/string/test/split_test.cpp +++ b/string/test/split_test.cpp @@ -85,7 +85,7 @@ void iterator_test() deep_compare( tokens, vtokens ); #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( tokens, string("xx-abc--xx-abb"), @@ -169,7 +169,7 @@ void iterator_test() BOOST_CHECK( tokens[0]==string("") ); #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( tokens, string("Xx-abc--xX-abb-xx"),