Page MenuHomeFreeBSD

Add libc++experimental.a for std::experimental support
ClosedPublic

Authored by dim on May 21 2017, 11:58 AM.

Details

Summary

Follow-up to D10839, add a separate libc++experimental.a for supporting
std::experimental features. This library is purposefully static, and
must be explicitly linked into programs using -lc++experimental.

NOTE: there is NO WARRANTY as to any stability or continuing existence of the features in the experimental C++ library!

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Would it make sense to let this new library be responsible for installing the experimental/ headers as well?

In D10840#224632, @ed wrote:

Would it make sense to let this new library be responsible for installing the experimental/ headers as well?

Maybe, but it also adds complexity for no good reason. There is also experimental/ functionality which is header-only, and therefore does not need any runtime support.

Upstream installs all of these from one Makefile, which I would also like to do, but it isn't possible with bsd.lib.mk, unfortunately.

This revision is now accepted and ready to land.May 21 2017, 1:13 PM
This revision was automatically updated to reflect the committed changes.