Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-11-14 13:04:13


>>>Yes, the lib allows for Unicode.
>>
>>
>> Is it covered anywhere in docs? Would you care to show how this could be
>> done?
>>
>
> Ok, my bad.
> To deal with Unicode, simply define the UNICODE macro.

First of all any macro based solution wouldn't be acceptable. Second "simply
define the UNICODE macro" doesn't do a bit. Did you see your own code?
The whole design is never thought through in regards to custom
character/string type. Here is extract from fwd header:

(#ifndef BOOST_LOG_VC ignored)

    struct default_log_manager {

        typedef char char_t;
        typedef std::string string;
        typedef std::ostringstream stream;
    };

That's it: no ifdef UNICODE whatsoever (and again it wouldn't be acceptable
anyway)

Gennadiy


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