[PATCH, c++0x] Use decltype in libstdc++'s parallel/base.h

Paolo Carlini paolo.carlini@oracle.com
Thu Jun 26 00:32:00 GMT 2008


Hi Chris,

you are raising an interesting issue. First blush the code in base.h seems indeed quite hackish and C++ is certainly moving toward good solutions for such kind of problems. My doubts:

1- Can you describe in a bit of detail the problems you are actually encountering? (seeing a long error message without context doesn't really help, ehm ;)
2- Johannes opinion?
3- Do we believe decltype is sufficiently stable for our uses at least? (comp. e.g., c++/36628)
4- Shall we just implement (__)common_type (n2615 -> n2661)?

Opinions?

Thanks,
Paolo.



More information about the Libstdc++ mailing list