https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113500
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |13.3
Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org
Ever confirmed|0 |1
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2024-01-19
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Hirthammer from comment #0)
> error: no match for 'operator<<' (operand types are
> 'std::__cxx11::basic_ostringstream<char>' and 'const
> std::chrono::time_point<std::chrono::_V2::system_clock,
> std::chrono::duration<float> >')
> 726 | __os << __t;
> | ~~~~~^~~~~~
> ---
>
> If you change the type def `Representation` to an integer or unsigned
> integer type, the code compiles.
Confirmed.
> Side note:
> Don't know if it helps, but the latest clang compiler version produces the
> same error. The related bug report can be found here:
>
> https://github.com/llvm/llvm-project/issues/78555
Since this is a bug in libstdc++ headers it's not at all surprising that you
get the same error with any compiler using those headers. This should not have
been reported to llvm.