Boost logo

Boost :

From: Vyacheslav E. Andrejev (mortituris_at_[hidden])
Date: 2007-03-08 07:46:28


Hello All,

XML grammar parser in boost::serialization has a definition of spirit primitive
to deal with XML character set. Initialization of this pimitive looks like
following (file $(BOOST)/libs/serialization/src/xml_grammar.cpp):

Char = chset_t("\x9\xA\xD\x20-\xFF");

Obviously, if char type is signed, then \xFF means -1 and the above initialization
will be equivalent to

Char = chset_t("\x9\xA\xD");

--
-- Vyacheslav E. Andrejev
-- System Architect, Optech International, Inc.
-- E-mail: mortituris_at_[hidden]

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk