Skip to content

Use just ::value where is possible - #262

Merged
mloskot merged 1 commit into
boostorg:developfrom
Kojoley:redundant-type-indirection
Mar 19, 2019
Merged

Use just ::value where is possible#262
mloskot merged 1 commit into
boostorg:developfrom
Kojoley:redundant-type-indirection

Conversation

@Kojoley

@Kojoley Kojoley commented Mar 19, 2019

Copy link
Copy Markdown
Contributor

Fixes VS2015 failures.

Usually all boolean (like is_*, or, and) and integral (like *size*, *num*) metafunctions have value member.

References

Fixes VS2015 failures.
@mloskot
mloskot self-requested a review March 19, 2019 18:26

@mloskot mloskot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for making the clean up!

@mloskot mloskot self-assigned this Mar 19, 2019
@mloskot
mloskot requested a review from stefanseefeld March 19, 2019 18:41
@mloskot mloskot added cat/refactoring Any nonfunctional changes cat/annoyance Not a bug, not a feature, but something that should be improved labels Mar 19, 2019
@mloskot
mloskot merged commit 33d4ac0 into boostorg:develop Mar 19, 2019
@mloskot

mloskot commented Mar 19, 2019

Copy link
Copy Markdown
Member

@Kojoley Thank you!

@stefanseefeld Should this go to Boost 1.70?

@Kojoley
Kojoley deleted the redundant-type-indirection branch March 19, 2019 19:35
@stefanseefeld

Copy link
Copy Markdown
Member

Given that this is merely a cosmetic fix, I don't think this qualifies.

@mloskot

mloskot commented Mar 19, 2019

Copy link
Copy Markdown
Member

It fixes compilation for VS2015 users, doesn't it?

I don't use VS2015 myself and I don't care about it, but there are users who do, apparently.

@stefanseefeld

Copy link
Copy Markdown
Member

Oh, sorry, I had missed that. In this case it clearly does ! :-)
(But rather than cherry-picking I'd like to do another merge, but I'll ask the RM first.)

@mloskot

mloskot commented Mar 19, 2019

Copy link
Copy Markdown
Member

No problem. Good we've clarified that. Thanks

@mloskot mloskot added this to the Boost 1.70 milestone Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat/annoyance Not a bug, not a feature, but something that should be improved cat/refactoring Any nonfunctional changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

With the std::enable_if the GIL library fails to compile on MSVC-14:

3 participants