This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
4.4 use static_assert or #warning for unimplemented c++0x std libs
- From: Chris <indy271828 at sympatico dot ca>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 05 Jan 2009 14:39:55 -0500
- Subject: 4.4 use static_assert or #warning for unimplemented c++0x std libs
Hi,
I know that regex in c++0x was not implemented, but later I tried it
anyway and my code compiled but did not do a match. I looked at the
tr1_impl and the most functions have a \TODO implement and the function
just returns a default "do nothing".
Is it possible to have some sort of protocol in gcc, so that any
unimplemented library function uses #warning or static_assert(0,"regex
not implemented") to not to confuse any future users? I don't think
gcc should provide headers that compile but don't do anything.
Thank you for the existing c++0x, Love it,
Chris