summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-17 21:28:56 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-17 21:28:56 -0500
commitb06df8533ba3216e59bc135a29e3a7cd3606c1d1 (patch)
tree486d961bc898b01956e252abbc1ee70d4ebebdc8 /src/utils.h
parentb2ba07b90c11b4645a7ae4310e8422c8d5f62f35 (diff)
downloadfork-ledger-b06df8533ba3216e59bc135a29e3a7cd3606c1d1.tar.gz
fork-ledger-b06df8533ba3216e59bc135a29e3a7cd3606c1d1.tar.bz2
fork-ledger-b06df8533ba3216e59bc135a29e3a7cd3606c1d1.zip
Added ledger::string(Iter, Iter) constructor
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index 1ea78620..ab8fb495 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -194,6 +194,11 @@ public:
string(const string& str);
string(const std::string& str);
string(size_type len, char x);
+ template<class _InputIterator>
+ string(_InputIterator __beg, _InputIterator __end)
+ : std::string(__beg, __end) {
+ TRACE_CTOR(string, "InputIterator, InputIterator");
+ }
string(const char * str);
string(const char * str, const char * end);
string(const string& str, size_type x);