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

Exercise14.43: Confusion with the exercise description #174

Open
mmz-zmm opened this issue Oct 13, 2019 · 1 comment
Open

Exercise14.43: Confusion with the exercise description #174

mmz-zmm opened this issue Oct 13, 2019 · 1 comment

Comments

@mmz-zmm
Copy link

mmz-zmm commented Oct 13, 2019

Exercise information

Exercise 14.43

Using library function objects, determine whether a given int value is divisible by any element in a container of ints..

Question or Bug

The answer for English version is right. "Any element in a containner", definitely we should use any_of function. But in Chinese version ( 第五版), the exercise becomes:

使用标准库函数对象判断一个给定的int值是否能够被int容器中的所有元素整除。

The translation is wrong. But under that condition, all_of function should be used.

Just for a discussion.

@mmz-zmm mmz-zmm changed the title 14_43 Confustion with exercise description 14_43 Confusion with exercise description Oct 13, 2019
@mmz-zmm mmz-zmm changed the title 14_43 Confusion with exercise description Exercise14.43: Confusion with the exercise description Oct 13, 2019
@wmzclever
Copy link

Yes,I think so. 感觉all_of才对

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

No branches or pull requests

2 participants