diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-17 21:28:56 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-17 21:28:56 -0500 |
commit | b06df8533ba3216e59bc135a29e3a7cd3606c1d1 (patch) | |
tree | 486d961bc898b01956e252abbc1ee70d4ebebdc8 /src/utils.h | |
parent | b2ba07b90c11b4645a7ae4310e8422c8d5f62f35 (diff) | |
download | fork-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.h | 5 |
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); |