Boost logo

Boost :

From: John Max Skaller (skaller_at_[hidden])
Date: 2001-06-23 09:57:39

Format strings allow


as a unicode escape. The escapes


are already available in strings for inserting ISO-10646/Unicode.
It isn't clear what happens with either code for strings
of 8 bit char :-)

Felix currently _requires_ conversion to UTF-8 for \uXXXX
escapes in 8 bit char strings (at lexing time). The double
escape for format strings:


leaves one wondering what bytes are generated.
Felix allows:


i.e., one hex digit or two. I do like the convention


though. However, I think it should generate a sequence of bytes,
and I think the number of X's should be required to be even.

It may be better to remove this notation temporarily,
so people don't use it and find the semantics are changed
by later Standardisation.

What happens for wchar_t?

John (Max) Skaller, mailto:skaller_at_[hidden]
10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850
checkout Vyper
download Interscript

Boost list run by bdawes at, gregod at, cpdaniel at, john at