Fix for the bug ID: 3025042: is_bom documentation issue
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@114 a809a056-fc17-0410-9590-b4f493f8b08e
This commit is contained in:
parent
14acee1ec5
commit
05e6c4ad8d
1 changed files with 1 additions and 1 deletions
|
@ -988,7 +988,7 @@ assert (bbom == <span class="literal">true</span>);
|
|||
<span class="keyword">unsigned char</span> byte_order_mark[] = {<span class=
|
||||
"literal">0xef</span>, <span class="literal">0xbb</span>, <span class=
|
||||
"literal">0xbf</span>};
|
||||
<span class="keyword">bool</span> bbom = is_bom(byte_order_mark, byte_order_mark + <span class="keyword">sizeof</span>(byte_order_mark));
|
||||
<span class="keyword">bool</span> bbom = is_bom(byte_order_mark);
|
||||
assert (bbom == <span class="literal">true</span>);
|
||||
</pre>
|
||||
<p>
|
||||
|
|
Loading…
Reference in a new issue