Unverified Commit c37734d4 authored by Sanjay Marreddi's avatar Sanjay Marreddi Committed by GitHub
Browse files

[libc++] Fix ability to explicitly instantiate std::midpoint (#74217)

std::midpoint is specified by having a pointer overload in
[numeric.ops.midpoint].
With the way the pointer overload is specified, users can expect that
calling
std::midpoint as `std::midpoint<T>(a, b)` should work, but it didn't in
libc++
due to the way the pointer overload was specified.

Fixes #67046
parent d5abd8a1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment