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

<xlocale>: codecvt_base::result should be an enum type #266

Open
StephanTLavavej opened this issue Nov 6, 2019 · 0 comments
Open

<xlocale>: codecvt_base::result should be an enum type #266

StephanTLavavej opened this issue Nov 6, 2019 · 0 comments
Labels
bug Something isn't working vNext Breaks binary compatibility

Comments

@StephanTLavavej
Copy link
Member

StephanTLavavej commented Nov 6, 2019

STL/stl/inc/xlocale

Lines 664 to 670 in 58c5c4d

enum { // constants for different parse states
ok,
partial,
error,
noconv
};
using result = int;

https://eel.is/c++draft/locale.codecvt mandates enum result { ok, partial, error, noconv };.

(Standardese citations as of WG21-N4835.)

vNext note: Resolving this issue will require breaking binary compatibility. We won't be able to accept pull requests for this issue until the vNext branch is available. See #169 for more information.

@StephanTLavavej StephanTLavavej added bug Something isn't working vNext Breaks binary compatibility labels Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vNext Breaks binary compatibility
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant