Boost logo

Boost :

Subject: Re: [boost] [encrypted strings]
From: Sohail Somani (sohail_at_[hidden])
Date: 2009-04-28 19:17:31

Eric Niebler wrote:
> Sohail Somani wrote:
>> Eric Niebler wrote:
>>> David Abrahams wrote:
>>>> on Mon Apr 27 2009, Sohail Somani <> wrote:
>>>>> There is an implementation of a mpl::string by Eric Neibler somewhere.
>>>> well, that's an interesting point. The string itself wouldn't even
>>>> appear in the data segment. Cool.
>>> Below is the definition of a std_str() function that takes an
>>> mpl::string and turns it into a std::string. (boost/mpl/string.hpp is
>>> available on trunk, but hasn't been released yet.) It's not *very*
>>> obfuscated, but should be enough to fool a naive string-dump.
>> I just realized that mpl::string has a c_str member. That means the OP
>> has to use mpl::vector_c right?
> It doesn't anymore. See the latest mpl/string.hpp on trunk.

I see it, cool :-)

Sohail Somani

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