From 90e6faffa0cc50fdafd1425bb0793d91883a085c Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 30 Jun 2014 06:27:26 -0700 Subject: [PATCH] Document ArgList. --- format.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/format.h b/format.h index 0320714a..d6fb3585 100644 --- a/format.h +++ b/format.h @@ -995,8 +995,14 @@ public: ArgList(const internal::ArgInfo *args, std::size_t size) : args_(args), size_(size) {} + /** + Returns the list size (the number of arguments). + */ std::size_t size() const { return size_; } + /** + Returns the argument at specified index. + */ const internal::ArgInfo &operator[](std::size_t index) const { return args_[index]; }