summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/include/vector9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/vector b/src/include/vector
index 1fab3d81a..ac502a047 100644
--- a/src/include/vector
+++ b/src/include/vector
@@ -424,6 +424,15 @@ namespace std
return *(iv_finish-1);
}
+ /*
+ * direct access to the underlying array
+ * (C++11)
+ */
+ T * data()
+ {
+ return iv_start;
+ }
+
// -- Modifiers -----------------------------
/*
OpenPOWER on IntegriCloud