is_explicitly_convertible

Paolo Carlini paolo.carlini@oracle.com
Wed Dec 30 19:44:00 GMT 2009


Hi Daniel,
> Hi,
>
> as requested by Paolo Carlini, I post my implementation of C++0x's std::is_explicitly_convertible here. Note I have no idea what the actual style-guides dictate, but I hope that someone can use my work to add a complete and correct implementation to libstdc++ and write some tests for it :)
>   
I'm thinking of adding something like the below, which is more
consistent with the rest of our implementation. Does it look ok to you?
Of course we should also add is_constructible (independently for now
because of the lack of template aliases, but I would guess some code
could be shared), did you consider that?

(Actually, a fully conforming implementation of these features will
require front-end support, for the usual reasons, thus I would no spend
an incredible amount of time on the library-only version)

Thanks,
Paolo.

/////////////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_is_explicitly_convertible
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20091230/78e96b56/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_is_explicitly_convertible
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20091230/78e96b56/attachment-0001.ksh>


More information about the Libstdc++ mailing list