Project

General

Profile

Actions

Feature #5606

open

c++ exceptions

Added by Vasily Pupkin over 7 years ago. Updated over 7 years ago.

Status:
Feedback
Priority:
Low
Assignee:
-
Target version:
Start date:
03/20/2017
Due date:
% Done:

0%

Estimated time:

Description

Is there any chance c exceptions will be removed from the API?

https://github.com/emweb/wt/blob/wt4/src/Wt/WServer.C

https://github.com/emweb/wt/blob/wt4/src/Wt/WApplication.C

Ctrl+F throw

Actions #1

Updated by Roel Standaert over 7 years ago

  • Status changed from New to Feedback

We're not currently planning to remove exceptions from Wt. In most cases, when exceptions are thrown, this is usually due to an incorrect usage of the API, so it should at least be possible to avoid most of them, which would make using Wt with -fno-exceptions possible. I think the main component that really depends on exceptions for its normal operation is Wt::Dbo.

Is there a particular reason why you don't want exceptions? Is it because of some embedded platform?

Actions

Also available in: Atom PDF