Skip to content

父类的方法签名是不是都要使用@generic才能确保子类调用父类方法时能够返回子类型?但是这样又会失去父类型提示 #2640

Unanswered
xiangnanscu asked this question in Q&A
Discussion options

You must be logged in to vote

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@xiangnanscu
Comment options

@CppCXY
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants