Fixed typo; Refs #8002

[SVN r82771]
This commit is contained in:
Marshall Clow 2013-02-07 14:14:53 +00:00
parent f0c62e9e00
commit 00d151828c

View File

@ -54,7 +54,7 @@ Integrating `string_ref` into your code is fairly simple. Wherever you pass a `c
return bar.substr ( 2, 3 ); 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. Let's figure out what happens in this (contrived) example.