atomgalaxy / isocpp-universal-template-param

We propose a way to spell a universal template parameter kind. This would allow for a generic apply and other higher-order template metafunctions, and certain typetraits.
https://atomgalaxy.github.io/isocpp-universal-template-param/d1985r0.pdf
2 stars 2 forks source link

Incorporate Daveed's reply regarding reflection based traits #41

Closed BengtGustafsson closed 2 years ago

BengtGustafsson commented 2 years ago

Here is Daveed's mail and an unsent reply I made. I think it fits better in the proposal than in a reply.

Den 2022-09-16 kl. 15:49, skrev Daveed Vandevoorde:

Hello,

In P1985R3 you “ask”:

An important contrast would be to see the implementations of is_specialization_of_v by this paper and the reflection one.

With P1240, the implementation could be:

template<typename Type, template