// 在队列中放置一个 sentinel 
 void clear() { Q.assign( 1, SENTINEL ); M.clear(); }
Example #2
0
//-----------------------------------------------------------
void Excecao::obterListaExcecoes(deque<Excecao> &lista)
{
 lista.assign(this->excecoes.begin(), this->excecoes.end());
 lista.push_front(Excecao(this->msg_erro,this->tipo_erro,
                          this->local,this->arquivo,this->linha,NULL,this->info_adicional));
}