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

Do not poke into the protected _Addr member of std::error_category #98

Closed
pdimov opened this issue Nov 8, 2022 · 0 comments
Closed

Comments

@pdimov
Copy link
Member

pdimov commented Nov 8, 2022

... as this creates problems for the MS STL (microsoft/STL#3176).

Since a nonzero id is only passed when BOOST_SYSTEM_AVOID_STD_GENERIC_CATEGORY or BOOST_SYSTEM_AVOID_STD_SYSTEM_CATEGORY is defined, and since id is only stored into _Addr when the MS STL is 14x, but none of these macros are defined in this case, this code should be dead and it should be possible to remove it.

@pdimov pdimov closed this as completed in 36e1236 Dec 11, 2022
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

1 participant