Project

General

Profile

Feature #7528

Official Forward Declaration Support

Added by Aaron Wright over 1 year ago. Updated 4 months ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
04/23/2020
Due date:
% Done:

0%

Estimated time:

Description

I find myself forward declaring the same classes from Wt a lot (dozens of files):

namespace Wt {
namespace Http {

class Request;
class Response;

} // namespace Http
} // namespace Wt

It would be nice if Wt provided a header for forward declarations, like some other libraries sometimes do; "rapidjson/fwd.h", or "iosfwd".

Also available in: Atom PDF