From 1b2cd6378b60620aab46a6461eff7d853d8e8d19 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Mon, 11 Feb 2013 16:22:32 +0000 Subject: [PATCH] Merge doc typo; Fixes #8002 [SVN r82821] --- doc/string_ref.qbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/string_ref.qbk b/doc/string_ref.qbk index 5943eed..4c6fc79 100644 --- a/doc/string_ref.qbk +++ b/doc/string_ref.qbk @@ -54,7 +54,7 @@ Integrating `string_ref` into your code is fairly simple. Wherever you pass a `c return bar.substr ( 2, 3 ); } - if ( extract_part ( "ABCDEFG" ).front() == "C" ) { /* do something */ } + if ( extract_part ( "ABCDEFG" ).front() == 'C' ) { /* do something */ } Let's figure out what happens in this (contrived) example.