| 123 | // ------------------------------------------------------ |
| 124 | |
| 125 | reference front( |
| 126 | ) |
| 127 | { |
| 128 | DLIB_CASSERT(size() > 0, |
| 129 | "\treference std_vector_c::front()" |
| 130 | << "\n\tYou can't call front() on an empty vector" |
| 131 | << "\n\tthis: " << this |
| 132 | ); |
| 133 | return base_type::front(); |
| 134 | } |
| 135 | |
| 136 | // ------------------------------------------------------ |
| 137 |