[libcxx-commits] [PATCH] D149543: [libc++][format] Fixes	vector<bool> requirements.
    Louis Dionne via Phabricator via libcxx-commits 
    libcxx-commits at lists.llvm.org
       
    Thu Jun 29 08:07:58 PDT 2023
    
    
  
ldionne added a comment.
In D149543#4456976 <https://reviews.llvm.org/D149543#4456976>, @hans wrote:
>> In D149543#4456497 <https://reviews.llvm.org/D149543#4456497>, @Mordante wrote:
>>
>>> 
>>
>> Interesting. Am I right to assume most of the new size is due to including `<string>`?
>
> I don't think it's `<string>`; that's already widely included. I think it's `__format/formatter_output.h` where most of it gets added.
@Mordante What's the very very minimum amount of stuff we need to implement `formatter<bool>`? Are we somehow including a lot more than we strictly need? Can we split up some of those `format` headers to avoid including some of this stuff transitively?
> Part of me thinks maybe `<format>` could be gated behind a macro like is was while it was experimental, since we're not currently using it in Chromium. But that would only delay the issue until we do want to use it of course.
IMO that's just sweeping the issue under the carpet.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149543/new/
https://reviews.llvm.org/D149543
    
    
More information about the libcxx-commits
mailing list