<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/71925>71925</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            C++23 range formatters are not available by #include <print>
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          dangelog
      </td>
    </tr>
</table>

<pre>
    Testcase against clang trunk:

https://gcc.godbolt.org/z/c1PYs1nxG
```
#include <vector>
#include <print>
// #include <format>

int main() {
 std::vector<int> v{1, 2, 3};
    std::println("{}", v);
}
```

This doesn't compile; one must include `<format>` to get the range formatters.

I'm not sure how to read the Standard here. In principle, the `std::formatter` specializations for ranges are in `<format>` (https://eel.is/c++draft/format.syn) but that doesn't sound user-friendly.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsU0GPszYQ_TXDZbQI2wHCgcMmaaq9VepeejR4Am6NHdkm2-yvrwzZbLZfJDSAx8_vPc-MDEEPlqiFcgflIZNzHJ1vlbQDGTdknVPX9p1C7GUglIPUNkTsjbQDRj_bf0C8QnGA4hbHGM8hrfEj8OPQ9_ngVOdMzJ0fgB8_gR979sdfgdl_f78Bq-L2rL9caNubWRGC2F-oj86D-O1Z8uy1jQ-5RIk_t5ycn-TDniVqG3GS2gLfAm8Q6t26jiGqpF28ftHuVwK8QL1jwPfIUxBQH0B8gRC_cYsisx7M07n1IX3wPV6AN3dMWn7qfYnvow6oHAULvI7Yu-msDYHYobOE0xwi3h1WxQ-TVYHR4UAR40joUxVxzUbyIX9keQNeT2hdxDB7wtF9JKgnqRbsn1FaJb3CkTzl-GYxeev12VCyk7ZAVdyN30mShHCmXkujP2XUzoakYNUSUHpCbZ_pBr792TxEJtch9QvwHfCd8vIUgR9XVB6uNhWvm5NXGR8uLLjZKpwD-ZeT12SVueaZaoVqRCMzalnVNBUrmdhkYyuqsqGTLColGW0qwWrWbIsNP6mSF7KvM93yggvGWMEY25abXFTbfrNlJ7YVRVcKBpuCJqlNbsxlSm2e6RBmamvW8DIzsiMTlvHi3NIHLsnUFOUh823CvHTzEGBTGB1i-D4l6mio3a_mufilmstdpvrJi9RGdoawu-LzCclmb9r_zaaO49zlvZuAHxPp7fVy9u5v6tNNL1JTBRYr_wUAAP__mT5CvQ">