[PATCH] D49402: [STLExtras] Add size() for arrays

Paul Semel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 17 13:11:03 PDT 2018


paulsemel added a comment.

In https://reviews.llvm.org/D49402#1165541, @efriedma wrote:

> This appears to be identical to llvm::array_lengthof; do you plan to deprecate that function?


Indeed, this is the exact same function (and to be honest I didn't see it). But as c++17 is introducing this function with `size` as name, maybe we should switch to this one ? It's actually up to you guys ! :)


Repository:
  rL LLVM

https://reviews.llvm.org/D49402





More information about the llvm-commits mailing list