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

[enum.copy_options] refers to "Filesystem library" #649

Closed
jwakely opened this issue Mar 17, 2016 · 2 comments
Closed

[enum.copy_options] refers to "Filesystem library" #649

jwakely opened this issue Mar 17, 2016 · 2 comments

Comments

@jwakely
Copy link
Member

jwakely commented Mar 17, 2016

Calling a Filesystem library function with more than a single constant for an option group results in undefined behavior.

It's not clear what counts as "a Filesystem library function" now that the content has moved from the TS to the IS.

@zygoloid
Copy link
Member

I fixed this editorially by dropping the "Filesystem". Only functions within [filesystems] take these types, which seems to properly scope this rule to the relevant functions.

@jwakely
Copy link
Member Author

jwakely commented Mar 18, 2016

I thought about that, but wondered whether someone would misread it to suggest that passing one of those options to a function template such as make_pair would be undefined if conflicting bits are set.

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