[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost
Subject:    Re: [boost] [move] BOOST_RV_REF(TypeWithoutMoveEmulation) parameters
From:       "Groke, Paul via Boost" <boost () lists ! boost ! org>
Date:       2017-05-29 7:29:00
Message-ID: BN1PR05MB2641A507417BD44881A74CB94F30 () BN1PR05MB264 ! namprd05 ! prod ! outlook ! com
[Download RAW message or body]

danny kabrane wrote:

> As for stl containers such as std::string or std::vector, you could use
> boost::container::string (vector, etc.), they emulate move semantics for
> C++98 compilers, and as far as I used them in my applications, in most
> cases they outperform stl containers.

Thanks for the tip. I didn't know about boost::container::string.

> But the main drawback that comes with this workaround is the
> interoperability with other APIs that use std::string (or other) because they
> don't know boost::container, so you have to write more code that handle
> this use case.

Yes. Which is why we probably won't be able to use boost::container::string. Anyway \
it's good to know about the possibility.

Regards,
Paul Groke


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic