summaryrefslogtreecommitdiff
path: root/src/collect.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-12-01 09:56:13 +0000
committerCarl Hetherington <cth@carlh.net>2014-12-01 09:56:13 +0000
commitf2ebc98bfa8e780935d76108b897015128c6271e (patch)
tree58516f7138d560e330e23b93d92beb5ba7b3659f /src/collect.h
parent8cfc86dbfd2bffe3cf053c10b74cee12401437f4 (diff)
Some doc improvements.
Diffstat (limited to 'src/collect.h')
-rw-r--r--src/collect.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/collect.h b/src/collect.h
index 9f3db63..34f81aa 100644
--- a/src/collect.h
+++ b/src/collect.h
@@ -24,7 +24,10 @@
#include "raw_subtitle.h"
namespace sub {
-
+
+/** Collect sub::RawSubtitle objects into sub::Subtitles.
+ * This method is templated so that any container type can be used for the result.
+ */
template <class T>
T
collect (std::list<RawSubtitle> raw)