$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] ASIO: sending QString (UTF-16)
From: Igor R (boost.lists_at_[hidden])
Date: 2009-10-21 12:58:18
> The "buffer" function does not supports QString, so I wrote my own, is it
correct? "utf16()" returns a pointer to a ushort (16 bit values).
It should be ok, if you don't modify (or destroy) the message_ until
handle_write() is called.
(BTW, probably it's better to put such functions in your own namespace, not
in the ASIO one.)