-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Open
Description
Description
While working on intl migration to be fully in C++, I was thinking if we could provide a ZendMM C++ api instead of the actual C usage and, while it is not awful as is, we can use the opportunity to use templates instead of having to do super explicit casts.
e.g.
template<T, S = size_t> T ZendMM::fast_alloc(S len) {}
If it was only for intl, not sure that would be worth it but there is couple of C++ extensions out there.
(NB: Maybe reusing a subset of this old PR).