Raise compile error when using unimplemented functions
The path functions in this patch are unimplemented (as per the TODO comment from upstream). To avoid running into a linker error (missing symbol), this patch raises a compile error by commenting out the functions, which is more user friendly.
Differential Revision: https://reviews.llvm.org/D111892
NOKEYCHECK=True
GitOrigin-RevId: 6b82adbb4980593f4661edf94e5539adfe1a9f4e
diff --git a/include/filesystem b/include/filesystem
index 1fd77af..f99976f 100644
--- a/include/filesystem
+++ b/include/filesystem
@@ -966,6 +966,7 @@
_PathCVT<_ItVal>::__append_range(__pn_, __first, __last);
}
+/*
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
// TODO Implement locale conversions.
template <class _Source, class = _EnableIfPathable<_Source, void> >
@@ -974,6 +975,7 @@
path(_InputIt __first, _InputIt _last, const locale& __loc,
format = format::auto_format);
#endif
+*/
_LIBCPP_INLINE_VISIBILITY
~path() = default;