From 00d151828c0920ce6ce112d59f8b37b66f19ab31 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Thu, 7 Feb 2013 14:14:53 +0000 Subject: [PATCH] Fixed typo; Refs #8002 [SVN r82771] --- 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.