From e15c474a348d9c9e037b1f3d62b58d1c431b8cf2 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Fri, 8 Nov 2013 17:33:31 +0000 Subject: regex_compiler.h (__detail::__has_contiguous_iter): vector storage is not contiguous. * include/bits/regex_compiler.h (__detail::__has_contiguous_iter): vector storage is not contiguous. From-SVN: r204582 --- libstdc++-v3/include/bits/regex_compiler.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'libstdc++-v3/include') diff --git a/libstdc++-v3/include/bits/regex_compiler.h b/libstdc++-v3/include/bits/regex_compiler.h index 741098f..b9f8127 100644 --- a/libstdc++-v3/include/bits/regex_compiler.h +++ b/libstdc++-v3/include/bits/regex_compiler.h @@ -134,12 +134,17 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION template struct __has_contiguous_iter> - : std::true_type + : std::true_type // string storage is contiguous { }; template struct __has_contiguous_iter> - : std::true_type + : std::true_type // vector storage is contiguous + { }; + + template + struct __has_contiguous_iter> + : std::false_type // vector storage is not contiguous { }; template -- cgit v1.1