[libcxx-commits] [libcxx] [libc++] Granularize <vector> (PR #99705)
Christopher Di Bella via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Aug 1 09:29:10 PDT 2024
https://github.com/cjdb requested changes to this pull request.
What is the motivation for this patch?
There were two goals when I originally started the modularisation of libc++ headers:
1. eliminate circular dependencies
2. separate completely unrelated entities
This was done with the intention of ensuring that including Header A didn't include all of Header B just for Function F, and to improve lookup (`<type_traits>` was the home of many things that it wasn't the prescribed home of).
Splitting `<vector>` into seven new headers doesn't achieve the first goal, and I'm not convinced it is achieving the second either.
https://github.com/llvm/llvm-project/pull/99705
More information about the libcxx-commits
mailing list