public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* Should reinterpret_cast be constexpr?
@ 2020-12-28 19:51 Josh Marshall
  2020-12-28 20:33 ` Jonathan Wakely
  0 siblings, 1 reply; 6+ messages in thread
From: Josh Marshall @ 2020-12-28 19:51 UTC (permalink / raw)
  To: libstdc++

Hello all,

From the test error `libstdc++-v3/include/bits/stl_vector.h:1837: error:
'reinterpret_cast' is not a constant expression` and the documentation at
https://en.cppreference.com/w/cpp/language/reinterpret_cast , is
`reinterpret_cast()` not constexpr in error?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-12-29  1:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-28 19:51 Should reinterpret_cast be constexpr? Josh Marshall
2020-12-28 20:33 ` Jonathan Wakely
2020-12-28 20:47   ` Jonathan Wakely
2020-12-28 20:49     ` Josh Marshall
2020-12-28 21:24       ` Jonathan Wakely
     [not found]         ` <CAFkJGRem_HFTtj93pyWVpvMtjSDLBU8u9nUVXshOTovsEjDaHw@mail.gmail.com>
2020-12-29  1:19           ` Josh Marshall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).