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

Conform to std::pointer_traits requirements #32

Merged
merged 1 commit into from Jan 19, 2017

Conversation

Projects
None yet
2 participants
@treh
Copy link
Contributor

commented Jan 13, 2017

offset_ptr<T, ...>::rebind must be offset_ptr<U, ...> directly

to avoid breaking older pointer_traits implementations (like in Visual Studio 2015),
'other' is added as typedef so offset_ptr<T, ...>::rebind< U >::other still works

Conform to std::pointer_traits requirements
offset_ptr<T, ...>::rebind<U> must be offset_ptr<U, ...> directly

to avoid breaking older pointer_traits implementations (like in Visual Studio 2015),
'other' is added as typedef so offset_ptr<T, ...>::rebind<U>::other still works

@igaztanaga igaztanaga merged commit 46a1364 into boostorg:develop Jan 19, 2017

@igaztanaga

This comment has been minimized.

Copy link
Member

commented Jan 19, 2017

Many thanks for the patch, great compatibility trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.