vector o \em en otro caso.
*/
bool contains(const T* t) const
- throw() {
+ {
if(t == NULL)
return false;
\return \em true si ha registrado la nueva instancia o \em false en otro caso.
*/
bool add(T* t)
- throw(RuntimeException) {
+ noexcept(false) {
if(t == NULL)
return false;
\return \em true si ha eliminado la instancia o \em false en otro caso.
*/
bool erase(T* t)
- throw(RuntimeException) {
+ noexcept(false) {
if(t == NULL)
return false;
\return la instancia asociada a la clave recibida como parametro o NULL si no existe.
*/
T* find(const TKey key)
- throw() {
+ {
Guard guard(this, "SafeSortedVector <T, SortBy, TKey>::find");
return SortedVector <T, SortBy, TKey>::find(key);
}
\param key Clave a buscar en el vector.
\return la instancia asociada a la clave recibida como parametro o NULL si no existe.
*/
- const T* find(const TKey key) const throw() {
+ const T* find(const TKey key) const {
return const_cast <SafeSortedVector <T, SortBy, TKey>*>(this)->find(key);
}
};