STL TR1 type_traits surprises
On using the new TR1 type_traits I was surprised to find that floating point numbers fail the is_signed test. This was not what I expected, seeing as floating point numbers do negative numbers quite well. It seems that this test only applies to integral types.
Has anyone else come across a type trait test that did not do what they initially expected?
"It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong."
Richard P. Feynman