On Oct 8, 2013, at 4:56 PM, G M <[email protected]> wrote:
> patch intended (ironically) to fix a possible versioning mistake.
> <deque.diff>
It would be easier for me (in the future) if you'ld add a bit more context here.
[ Note: You are not alone in this; I have failed to explain what I'm trying to
achieve with a patch, too ]
But, looking at your patch, it appears that you want to wrap the following
routine
template <class _Tp, class _Allocator>
template <class _InputIter>
void
deque<_Tp, _Allocator>::assign(_InputIter __f, _InputIter __l,
typename
enable_if<__is_input_iterator<_InputIter>::value &&
!__is_random_access_iterator<_InputIter>::value>::type*)
{
…
}
in an
#if _LIBCPP_STD_VER > 11
#endif
block. Is this correct?
If so, I think you are mistaken, since my copy of the C++11 standard (N3290)
shows the following routine for deque:
template <class InputIterator>
void assign(InputIterator first, InputIterator last);
What makes you think that this routine did not exist in C++11?
-- Marshall
Marshall Clow Idio Software <mailto:[email protected]>
A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly
moderated down to (-1, Flamebait).
-- Yu Suzuki
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits