Document ArgList.

This commit is contained in:
Victor Zverovich 2014-06-30 06:27:26 -07:00
parent ba70b30d7e
commit 90e6faffa0

View File

@ -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];
}