$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] How to convert std::string into basic_string
From: Christoph Gysin (christoph.gysin_at_[hidden])
Date: 2009-09-17 04:15:26
> This is ok but i have to convert string into boost string. if i use the
> method as suggested.
>
> string s = "hello";
> char_string y = ts;
You probably want this:
char_string cs(s.c_str(), alloc_inst);
Chris
-- echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org_at_fr33z3