[libcxx-commits] [libcxx] [libc++] Implement P3168R2: Give optional range support (PR #149441)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jul 21 09:44:28 PDT 2025
================
----------------
ldionne wrote:
I'd like to request that we split this into three files:
- One test file for `std::optional::begin()` and `std::optional::begin() const`.
- One test file for `std::optional::end()` and `std::optional::end() const`.
- One test file for the `std::optional::iterator` and `std::optional::const_iterator` types.
I think that is what gets us closest to our usual "one test file per public API function" without getting into diminishing returns.
https://github.com/llvm/llvm-project/pull/149441
More information about the libcxx-commits
mailing list