|
Boost : |
Subject: Re: [boost] [SPAM (Header)] - Re: [optional] little addition... optional_move_to? - Number of numbers in MIME From exceeds maximum threshold
From: Arno Schödl (aschoedl_at_[hidden])
Date: 2009-03-05 15:19:30
> Arno, given such a optional<T>::optional_move_to member function, would
> you still prefer to use your own optional_assign function? Otherwise
> your use case could be written as follows:
We don't use any special move library in our code because I am waiting for C++0x. But if the library, in this case boost::optional, supports it, I'd use it where applicable. Regular assignment, without killing the source, should work as well, though.
Arno
-- Dr. Arno Schoedl · aschoedl_at_[hidden] Technical Director think-cell Software GmbH · Invalidenstr. 34 · 10115 Berlin, Germany http://www.think-cell.com · phone +49-30-666473-10 · toll-free (US) +1-800-891-8091 Directors: Dr. Markus Hannebauer, Dr. Arno Schoedl · Amtsgericht Charlottenburg, HRB 85229
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk