[libcxx-commits] [PATCH] D145800: [libc++] Granularizes vector.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 21 11:00:09 PDT 2023


Mordante added a comment.

In D145800#4207309 <https://reviews.llvm.org/D145800#4207309>, @EricWF wrote:

> Rereading the bug on github. I think this might deserve a standard defect report.
>
> The spec should be a lot more clear about what exactly is provided in the library headers which provide declare specializations.

I'm not sure this warrants an LWG-issue. Based on http://eel.is/c++draft/format#formatter.spec-4

  If the library provides an explicit or partial specialization of formatter<T, charT>, that specialization is enabled and meets the Formatter requirements except as noted otherwise.

I think it's clear the bug report is valid.

The problem is caused by libc++ including `<vector>` from format. This is not something the Standard mandates.
Do you still feel there is a reason to file an LWG-issue?

I will look whether I can fix this in a different way.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145800/new/

https://reviews.llvm.org/D145800



More information about the libcxx-commits mailing list