Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
I want to discuss on the support for the alias template, which was added to C++11.
Currently, the type alias (
What is missing is an equivalent declaration for C++11's
template <template_parameter_list> using identifier = type_id;
which I propose to be
template <class T> using remove_reference_t = typename remove_reference<T>::type;
could be written in Cython as
I am unsure how this can be achieved.
This issue might be a part of #2130.
Edit: for extern declaration, would the following be sufficient?
cdef extern from '<type_traits>' namespace 'std' nogil: cdef cppclass remove_reference_t[T]: pass