[v3] use alias-declaration in <future>
Jonathan Wakely
jwakely.gcc@gmail.com
Tue Nov 8 01:24:00 GMT 2011
This removes a TODO where I'd been waiting to use an alias-declaration
to make the code a bit simpler.
Also uses std::decay in the packaged_task constraint I added recently.
* include/std/future (__future_base::_Ptr): Use alias-declaration.
(__is_same_pkgdtask): Rename to __constrain_pkgdtask and use decay
instead of remove_reference so that cv-quals are removed.
Tested x86_64-linux and x86_64-netbsd, committed to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alias-future.patch
Type: text/x-patch
Size: 5213 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20111108/82e316e0/attachment.bin>
More information about the Libstdc++
mailing list