[libcxx-commits] [PATCH] D108144: [libc++] Introduce _LIBCPP_EXPRESSION_EQUIVALENT

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 16 11:22:03 PDT 2021


Mordante added a comment.

In general I like this macro. I've written code like this too often myself. I only wonder about the new name; as non-native speaker this name doesn't feel to useful. The definition in the standard for expression-equivalent looks different http://eel.is/c++draft/defns.expression-equivalent#def:expression-equivalent.

So I wonder why is the name changed from `_LIBCPP_INVOKE_RETURN` to `_LIBCPP_EXPRESSION_EQUIVALENT`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108144



More information about the libcxx-commits mailing list