Skip to content

Conversation

@alvinhochun
Copy link
Contributor

Removed one bit of enable_if_t metaprogramming that doesn't build with Clang and seems to be unneeded. The error message is:

enable_if.h:26:78: error: no type named 'type' in 'std::enable_if<false>'; 'enable_if' cannot be used to disable this declaration
template <bool _Bp, class _Tp = void> using enable_if_t = typename enable_if<_Bp, _Tp>::type;
                                                                             ^~~
multi_threaded_common.h:155:34: note: in instantiation of template type alias 'enable_if_t' requested here
        template<typename = std::enable_if_t<!std::is_same_v<ConvertibleFrom, void>>>
                                 ^
[snip]

@kennykerr kennykerr merged commit e96613d into microsoft:master Nov 21, 2022
@alvinhochun alvinhochun deleted the alvin/mingw-tests branch December 11, 2022 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants