Commit d3896075 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2906] some more comments about ZoneSpec::index.

parent dc507ec0
......@@ -37,7 +37,7 @@ public:
}
virtual ZoneSpec getCurrentImpl() const {
return (ZoneSpec(0, it_->first));
return (ZoneSpec(0, it_->first)); // index is always 0 in this version.
}
virtual bool isLast() const {
......
......@@ -54,6 +54,9 @@ public:
/// \brief in-memmory cache version of getIterator().
///
/// From this version of iterator, `ZoneSpec::index` will always be set
/// to 0 at the moment.
///
/// \throw None except std::bad_alloc in case of memory allocation failure
virtual IteratorPtr getIterator() const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment