Skip to content

Fix compilation errors with VS2015 #762

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

Merged
merged 1 commit into from
Oct 17, 2017

Conversation

umennel
Copy link

@umennel umennel commented Jun 13, 2017

I had to make some changes to get this compiling with VS2015 again. It complained about conversion from const char* to std::array<...>::const_iterator. So I had to add explicit casts. The downside is that the code became a bit ugly now and more difficult to read. Maybe using typedefs for the array and array iterator types would help?

@anonimal
Copy link

@deanberris @glynos ?

@umennel umennel force-pushed the vs2015_compiler_fixes branch from 04c0afd to ddb372d Compare September 15, 2017 19:35
@deanberris
Copy link
Member

LGTM -- in the future typedefs/aliases would make this better to read. For now it's localised and makes sense anyway.

@deanberris deanberris merged commit 827867f into cpp-netlib:master Oct 17, 2017
umennel added a commit to umennel/cpp-netlib that referenced this pull request Mar 31, 2018
umennel added a commit to umennel/cpp-netlib that referenced this pull request Mar 31, 2018
deanberris pushed a commit that referenced this pull request Apr 3, 2018
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.

3 participants