Page MenuHomeFreeBSD

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

Authored by dim on May 21 2017, 11:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 16, 8:55 PM
Unknown Object (File)
Mon, Apr 14, 3:03 AM
Unknown Object (File)
Sun, Apr 13, 10:50 PM
Unknown Object (File)
Sat, Apr 12, 4:50 AM
Unknown Object (File)
Fri, Mar 28, 8:18 AM
Unknown Object (File)
Thu, Mar 27, 5:32 AM
Unknown Object (File)
Mar 10 2025, 2:26 PM
Unknown Object (File)
Mar 5 2025, 9:24 PM
Subscribers

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
Lint Not Applicable
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.