Boost logo

Boost :

Subject: Re: [boost] Boost.Convert+Boost.Parameter
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-03-03 16:26:28


Emil Dotchevski wrote:
> 2) convert<std::string> necessarily returns std::string (I think it's
> important user-defined conversions to have the freedom to return char
> const *. Many interfaces that take strings are commonly overloaded for
> std::string and char const * for efficiency reasons.)

How common is this going to be in reality? Won't returning
const char* usually introduce problems with memory management?

In Christ,
Steven Watanabe

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