* \brief Return the reference of the first element (convenience method). */
| 517 | * \brief Return the reference of the first element (convenience method). |
| 518 | */ |
| 519 | inline T* getFirstRef () const { |
| 520 | assert (size () > 0); |
| 521 | return this->getRef(0); |
| 522 | } |
| 523 | |
| 524 | /** |
| 525 | * \brief Return the first element, explicitly. |