From 28a7d3eb4b966fafc1bbca2f815f312f6850cc08 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Wed, 4 Jul 2012 16:15:35 +0000 Subject: [PATCH] Merge doc changes to release; fixes #7073 [SVN r79264] --- doc/hex.qbk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/hex.qbk b/doc/hex.qbk index 8b6e7ae..d64bd01 100644 --- a/doc/hex.qbk +++ b/doc/hex.qbk @@ -66,12 +66,12 @@ If you want to catch all the decoding errors, you can catch exceptions of type ` Assuming that `out` is an iterator that accepts `char` values, and `wout` accepts `wchar_t` values (and that sizeof ( wchar_t ) == 2) `` -hex ( "abcde", out ) --> "616263646566" +hex ( "abcdef", out ) --> "616263646566" hex ( "32", out ) --> "3332" -hex ( "abcde", wout ) --> "006100620063006400650066" +hex ( "abcdef", wout ) --> "006100620063006400650066" hex ( "32", wout ) --> "00330032" -unhex ( "616263646566", out ) --> "abcde" +unhex ( "616263646566", out ) --> "abcdef" unhex ( "3332", out ) --> "32" unhex ( "616263646566", wout ) --> "\6162\6364\6566" ( i.e, a 3 character string ) unhex ( "3332", wout ) --> "\3233" ( U+3332, SQUARE HUARADDO )