Opened 14 years ago

Last modified 13 years ago

#2778 new Feature Requests

Request for forward declarations header

Reported by: Andrey Semashev Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.38.0 Severity: Problem
Keywords: asio forward declaration Cc:

Description

I'm trying to implement a library that does something over the network. It exposes an interface that allows to supply local and remote host addresses to work with. However, as ASIO is header-only and depends on system headers, such as windows.h, I don't want to force the users of my library to include the whole implementation of ASIO and the system headers by using my library interface.

A header with forward declarations of the most commonly used ASIO types could help me to achieve this goal. In particular, forward declarations of IP address classes would be helpful.

Change History (1)

comment:1 by chris_kohlhoff, 13 years ago

Milestone: Boost 1.39.0To Be Determined
Note: See TracTickets for help on using tickets.