Skip to content
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

hw03 #7

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

hw03 #7

wants to merge 1 commit into from

Conversation

wangjy0109
Copy link

  1. 第6行应添加template 语句
  2. 第20行函数返回值应改为auto自动推断类型, 否则T0没有定义
  3. 定义了vector类逐元素加法
  4. 定义了variant类的加法运算符和打印运算符
  5. 定义了variant和vector类的加法运算符

谢谢小彭老师的反馈!

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