Re[2]: throw what?
От: davenger  
Дата: 06.08.04 13:41
Оценка:
Здравствуйте, Alny, Вы писали:

К>>Компилятор VC6.

A>Читаем MSDN A throw-expression with no operand re-throws the exception currently being handled. Such an expression should appear only in a catch handler or in a function called from within a catch handler
A>Может быть это как раз второй случай?

Вот такое Вц6 компилит без вопросов
// thowtest.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"


int main(int argc, char* argv[])
{
    try
    {
        throw;
    }
    catch (int)
    {
    }
    return 0;
}
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.