diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-01 18:36:28 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-01 18:36:28 -0400 |
commit | ae65e8ae05b82bee8be61156b4c39a519e8b4ba5 (patch) | |
tree | 8ce0e6f3559281c7cf25f6deaa59c426c8ae1639 /src/value.h | |
parent | 66b097bda722a9f6582043f806da71f2af8deaa3 (diff) | |
download | fork-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.h | 10 |
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; |