Subject: Re: [boost] [encrypted strings]
From: Sohail Somani (sohail_at_[hidden])
Date: 2009-04-28 18:11:17
Eric Niebler wrote:
> David Abrahams wrote:
>> on Mon Apr 27 2009, Sohail Somani <sohail-AT-taggedtype.net> 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?
-- Sohail Somani http://uint32t.blogspot.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk