#include "../header/int_vector.h"

Go to the source code of this file.
Functions | |
| bool | operator== (const int_vector &cont_1, const int_vector &cont_2) |
| bool | operator!= (const int_vector &cont_1, const int_vector &cont_2) |
| bool operator!= | ( | const int_vector & | cont_1, | |
| const int_vector & | cont_2 | |||
| ) |
| bool operator== | ( | const int_vector & | cont_1, | |
| const int_vector & | cont_2 | |||
| ) |
Definition at line 123 of file int_vector.cpp.
References int_vector::size().
00124 { 00125 if(cont_1.size()!=cont_2.size()) 00126 return 0; 00127 for(int k=0;k<cont_1.size();k++) 00128 if(cont_1[k]!=cont_2[k]) 00129 return 0; 00130 return 1; 00131 }

1.5.6