[libc-commits] [PATCH] D132254: [libc] Add a span facility
Thorsten via Phabricator via libc-commits
libc-commits at lists.llvm.org
Fri Aug 19 11:59:36 PDT 2022
tschuett added inline comments.
================
Comment at: libc/src/__support/CPP/span.h:17
+namespace __llvm_libc {
+namespace cpp {
+
----------------
Nit: You may use nested namespaces.
================
Comment at: libc/src/__support/CPP/span.h:82
+private:
+ constexpr size_type count_to_size(size_type offset, size_type count) const {
+ if (count == dynamic_extent) {
----------------
Nit: snake case?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132254/new/
https://reviews.llvm.org/D132254
More information about the libc-commits
mailing list