The individual enum values in copy_options and file_type aren't specified in the standard.
The standard doesn't require fs::path::format to be a scoped enum.
Differential D89866
[libcxx] [test] Mark bits of fs.enum tests as libcpp specific mstorsjo on Oct 21 2020, 3:49 AM. Authored by
Details
The individual enum values in copy_options and file_type aren't specified in the standard. The standard doesn't require fs::path::format to be a scoped enum.
Diff Detail
Unit Tests Event TimelineComment Actions LGTM with suggested changes.
Comment Actions Using LIBCPP_STATIC_ASSERT in the changed lines, and added some comments. There's a few cases of existing LIBCPP_ONLY(static_assert()) in other lines nearby that I'm not touching here though. |
Please use LIBCPP_STATIC_ASSERT instead (it is defined in test_macros.h. I'd like to avoid using macros defined in individual stdlibs in the test suite as much as possible.
Also, it would make sense to add a short comment explaining why those are libc++ specific.