コード例 #1
0
 // 在队列中放置一个 sentinel 
 void clear() { Q.assign( 1, SENTINEL ); M.clear(); }
コード例 #2
0
ファイル: excecao.cpp プロジェクト: spanc29/pgmodeler
//-----------------------------------------------------------
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));
}