[libcxx-commits] [PATCH] D57364: Bug fix for PR#40495 is_invokable_v<void> does not compile

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 2 15:41:54 PST 2020


ldionne commandeered this revision.
ldionne edited reviewers, added: mclow.lists; removed: ldionne.
ldionne added a comment.
Herald added a subscriber: jkorous.

Fixed in

  commit 011943a6e805a7666a7bff90ba27cd766bcc3a58
  Author: Eric Fiselier <eric at efcs.ca>
  Date:   Tue Jan 29 18:01:14 2019 +0000
  
      Fix PR40495 - is_invokable_v<void> does not compile
  
      The meta-programming that attempted to form the invoke call expression
      was not in a SFINAE context. This made it a hard error to provide
      non-referencable types like 'void' or 'void (...) const'.
  
      This patch fixes the error by checking the validity of the call
      expression within a SFINAE context.
  
      llvm-svn: 352522

Commandeering to close.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57364/new/

https://reviews.llvm.org/D57364



More information about the libcxx-commits mailing list