HarmonyOS SDK Developer Beta1 algorithm报错?
In file included from D:/xxxxxxxx/math/include/math.h:9:
In file included from D:/Program/Huawei/SDK_Next/HarmonyOS-NEXT-DB1/base/native/llvm/bin/../include/libcxx-ohos/include/c++/v1/algorithm:1774:
In file included from D:/Program/Huawei/SDK_Next/HarmonyOS-NEXT-DB1/base/native/llvm/bin/../include/libcxx-ohos/include/c++/v1/__algorithm/nth_element.h:15:
D:/Program/Huawei/SDK_Next/HarmonyOS-NEXT-DB1/base/native/llvm/bin/../include/libcxx-ohos/include/c++/v1/__algorithm/sort.h:396:5: error: unknown type name '__destruct_n'
__destruct_n __d(0);
^
D:/Program/Huawei/SDK_Next/HarmonyOS-NEXT-DB1/base/native/llvm/bin/../include/libcxx-ohos/include/c++/v1/__algorithm/sort.h:397:28: error: use of undeclared identifier '__destruct_n'
unique_ptr<value_type, __destruct_n&> __h(__first2, __d);
^
D:/Program/Huawei/SDK_Next/HarmonyOS-NEXT-DB1/base/native/llvm/bin/../include/libcxx-ohos/include/c++/v1/__algorithm/sort.h:397:41: error: expected expression
unique_ptr<value_type, __destruct_n&> __h(__first2, __d);
^
D:/Program/Huawei/SDK_Next/HarmonyOS-NEXT-DB1/base/native/llvm/bin/../include/libcxx-ohos/include/c++/v1/__algorithm/sort.h:415:5: error: use of undeclared identifier '__h'; did you mean '__d'?
__h.release();
^
D:/Program/Huawei/SDK_Next/HarmonyOS-NEXT-DB1/base/native/llvm/bin/../include/libcxx-ohos/include/c++/v1/__algorithm/sort.h:396:18: note: '__d' declared here
__destruct_n __d(0);
\_\_algorithm文件夹下stable\_partition.h sort.h inplace\_merge.h多个文件下有undeclared identifier