This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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. /////////////////////////
Attachment:
CL_is_explicitly_convertible
Description: Text document
Attachment:
patch_is_explicitly_convertible
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |