* Internal iterator constructor to capture reference * to the vector it iterates over rather than taking * the vector by copy. */
| 920 | * the vector by copy. |
| 921 | */ |
| 922 | iterator (const vector<T,N> &vec, int index) : |
| 923 | vec_(&vec) |
| 924 | { |
| 925 | if( !vec.empty() ) { |
| 926 | index_ = index; |
| 927 | } else { |
| 928 | index_ = -1; |
| 929 | } |
| 930 | } |
| 931 | |
| 932 | public: |
| 933 | iterator(void) : |
nothing calls this directly
no outgoing calls
no test coverage detected