Skip to content
Commit 7a828034 authored by Howard Hinnant's avatar Howard Hinnant
Browse files

Peter Collingbourne: If a pointer is passed as the third argument of the (iterator,

iterator, allocator) constructor with the intention of it being
implicitly converted to the allocator type, it is possible for overload
resolution to favour the (iterator, iterator, enable_if) constructor.
Eliminate this possibility by moving the enable_if to one of the
existing arguments and removing the third argument.

llvm-svn: 191145
parent 1da6b4d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment