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:
ntrifunovic 2010-09-04 15:47:12 +00:00 committed by King_DuckZ
parent c3a9d57d56
commit d75756f201

View file

@ -988,7 +988,7 @@ assert (bbom == <span class="literal">true</span>);
<span class="keyword">unsigned char</span> byte_order_mark[] = {<span class= <span class="keyword">unsigned char</span> byte_order_mark[] = {<span class=
"literal">0xef</span>, <span class="literal">0xbb</span>, <span class= "literal">0xef</span>, <span class="literal">0xbb</span>, <span class=
"literal">0xbf</span>}; "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>); assert (bbom == <span class="literal">true</span>);
</pre> </pre>
<p> <p>