mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
parent
f0c62e9e00
commit
00d151828c
@ -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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user