Boost logo

Boost :

Subject: Re: [boost] construe_cast, call for interest and feedback
From: Jeroen Habraken (vexocide_at_[hidden])
Date: 2010-10-07 17:04:53


On 7 October 2010 22:59, Matthew Herrmann <matthew.herrmann_at_[hidden]> 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.hpp
lines 120 to 165

> Regards,
>
> Matt
> ------
>

Jeroen


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk