Boost logo

Boost :

Subject: Re: [boost] Formal Review Request: Boost.Convert
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-02-24 16:54:02


On Tue, Feb 24, 2009 at 1:32 PM, Andrey Semashev
<andrey.semashev_at_[hidden]> wrote:
> I have put together a rough example of what I have in mind. Please, find the
> code attached. It works on my GCC 4.3.

Andrey, a question: let's say I am the author of a uuid type, something like:

struct uuid
{
  unsigned char value_[16];
};

How do I integrate that type in the proposed convert framework, so it
can be converted to std::string? I have a basic understanding, but I
wanted to see a clear picture of only the things relevant to defining
a conversion (as opposed to using it.)

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


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