Remove c10::guts::{conjunction,disjunction} (#127726)

They are not used in Pytorch OSS.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/127726
Approved by: https://github.com/ezyang
This commit is contained in:
cyy
2024-06-03 04:06:19 +00:00
committed by PyTorch MergeBot
parent 3399ad8d9d
commit 1b182ea0d2

View File

@ -54,11 +54,6 @@ make_unique_base(Args&&... args) {
return std::unique_ptr<Base>(new Child(std::forward<Args>(args)...));
}
template <class... B>
using conjunction = std::conjunction<B...>;
template <class... B>
using disjunction = std::disjunction<B...>;
#if defined(__cpp_lib_apply) && !defined(__CUDA_ARCH__) && !defined(__HIP__)
template <class F, class Tuple>