Boost logo

Boost :

Subject: [boost] [config] request for BOOST_NO_FWD_STD_DECLARATION
From: Christopher Jefferson (chris_at_[hidden])
Date: 2011-02-15 15:54:10


libc++ does not allow forward declarations of types for std:: , as it uses inline namespace to allow versioning.

Forward declarations occur in many libraries (config, fusion, interprocess). In each case I would like to just include the actual headers.

I could just #define all cases for LIBCPP, but other libraries might move to using inline namespaces in future, so I could introduce a macro?

Chris


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk