
7 Oct
2010
7 Oct
'10
9:04 p.m.
On 7 October 2010 22:59, Matthew Herrmann <matthew.herrmann@zomojo.com> wrote:
It would be nice to have
construe_cast(lhs, rhs);
so that there is no temporary copy for things like std::string on the lhs and type inferencing can be used to avoid writing the type name.
This is indeed a feature I wish to add (possibly with a somewhat different interface).
Also are you adding array of char as an input specialization? I like the way it avoids the strlen for const char literals on the rhs.
Yes I am, the specific specializations can be found at http://github.com/VeXocide/construe_cast/blob/master/boost/construe/iterable... lines 120 to 165
Regards,
Matt ------
Jeroen