summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/value.h')
-rw-r--r--src/value.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/value.h b/src/value.h
index ae6efc62..ea135cdb 100644
--- a/src/value.h
+++ b/src/value.h
@@ -837,6 +837,16 @@ public:
}
}
+ sequence_t::const_iterator begin() const {
+ assert(is_sequence());
+ return as_sequence().begin();
+ }
+
+ sequence_t::const_iterator end() const {
+ assert(is_sequence());
+ return as_sequence().end();
+ }
+
const std::size_t size() const {
if (is_null())
return 0;