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)
Thu, Oct 2, 5:03 PM
Unknown Object (File)
Aug 20 2025, 11:11 AM
Unknown Object (File)
Aug 8 2025, 4:09 AM
Unknown Object (File)
Aug 5 2025, 11:44 AM
Unknown Object (File)
Jul 18 2025, 6:09 PM
Unknown Object (File)
Jun 25 2025, 10:14 AM
Unknown Object (File)
Jun 16 2025, 6:56 PM
Unknown Object (File)
Jun 12 2025, 1:16 AM
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.