4.4 use static_assert or #warning for unimplemented c++0x std libs

Chris indy271828@sympatico.ca
Mon Jan 5 19:40:00 GMT 2009


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



More information about the Gcc mailing list