Boost logo

Boost Users :

Subject: Re: [Boost-users] How to convert std::string into basic_string
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-09-15 06:39:11


manish4gupta wrote:

> How to convert std::string into boost string. I am doing some benchmarking
> by inserting the std::string value instead of char_string(ypedef of
> basic_string) but i am getting error message.

To convert between two different types of basic_string, you need to use
the constructor that takes two iterators.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net