| 136 | |
| 137 | template<class ContainerType> |
| 138 | typename Foam::Circulator<ContainerType>::reference |
| 139 | Foam::Circulator<ContainerType>::next() const |
| 140 | { |
| 141 | if (iter_ == end_ - 1) |
| 142 | { |
| 143 | return *begin_; |
| 144 | } |
| 145 | |
| 146 | return *(iter_ + 1); |
| 147 | } |
| 148 | |
| 149 | |
| 150 | template<class ContainerType> |
no outgoing calls