summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/debug/vector
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/debug/vector')
-rw-r--r--libstdc++-v3/include/debug/vector13
1 files changed, 13 insertions, 0 deletions
diff --git a/libstdc++-v3/include/debug/vector b/libstdc++-v3/include/debug/vector
index bcca52035d3..2e9cd656b5c 100644
--- a/libstdc++-v3/include/debug/vector
+++ b/libstdc++-v3/include/debug/vector
@@ -718,4 +718,17 @@ namespace __debug
} // namespace std
+namespace __gnu_debug
+{
+ template<typename _Tp, typename _Alloc>
+ struct _Is_contiguous_sequence<std::__debug::vector<_Tp, _Alloc> >
+ : std::__true_type
+ { };
+
+ template<typename _Alloc>
+ struct _Is_contiguous_sequence<std::__debug::vector<bool, _Alloc> >
+ : std::__false_type
+ { };
+}
+
#endif
OpenPOWER on IntegriCloud