mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-15 21:00:47 +00:00
windows template specialization bug (#33076)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/33076 attempt at fixing https://github.com/pytorch/pytorch/issues/30886 Test Plan: circleCI with `call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 -vcvars_ver=14.16` passes Differential Revision: D19784550 fbshipit-source-id: 9fb42c3854d1d00d96cd7179bef9dd1aa2972ea6
This commit is contained in:
parent
05d18ffaf5
commit
e025f393f6
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ make_unique_base(Args&&... args) {
|
|||
|
||||
|
||||
|
||||
#ifdef __cpp_lib_logical_traits
|
||||
#if defined(__cpp_lib_logical_traits) && !(defined(_MSC_VER) && _MSC_VER < 1920)
|
||||
|
||||
template <class... B>
|
||||
using conjunction = std::conjunction<B...>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue