templates tag

2 questions


1 answers
358 views
0
I want to use the dependent type in CRTP, but I get a compilation error.

template<typename Derived>US>structure S{ using I = typename Derived::T;};structure D:S<D>{ using T=int;};int main(){ DD; return 0;}How can I use D::T in S with the above source code?

1 years ago

1 answers
115 views
0
Please tell me how to get out of itation with the jade template.

In the jade template, how do I get out of the iterations like break or return?http://jade-lang.com/reference/iteration/

1 years ago

© 2024 OneMinuteCode. All rights reserved.