summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-01 18:36:28 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-01 18:36:28 -0400
commitae65e8ae05b82bee8be61156b4c39a519e8b4ba5 (patch)
tree8ce0e6f3559281c7cf25f6deaa59c426c8ae1639 /src/value.h
parent66b097bda722a9f6582043f806da71f2af8deaa3 (diff)
downloadfork-ledger-ae65e8ae05b82bee8be61156b4c39a519e8b4ba5.tar.gz
fork-ledger-ae65e8ae05b82bee8be61156b4c39a519e8b4ba5.tar.bz2
fork-ledger-ae65e8ae05b82bee8be61156b4c39a519e8b4ba5.zip
Moved the pre-commands to their own file, and created new "args" command.
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;