Skip to content

hw03 #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

hw03 #58

wants to merge 1 commit into from

Conversation

kyleskyguo
Copy link

1,补充模板定义
2,使用decltype(aoto)自动推导函数返回值
3,使用using定义相加结果的类型
4,通过std::visit自动匹配lambda中的类型
5,重载+号,利用强制转换匹配d+c
这个练习重温了课堂上模板与几个容器的结合运用。

1,补充模板定义
2,使用decltype(aoto)自动推导函数返回值
3,使用using定义相加结果的类型
4,通过std::visit自动匹配lambda中的类型
5,重载+号,利用强制转换匹配d+c
这个练习重温了课堂上模板与几个容器的结合运用。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant