28 Sep
2005
28 Sep
'05
11:04 a.m.
Can someone add an is_complex<T>::value trait to type_traits.hpp
Sounds reasonable to me.
I have found myself having to do this frequently. It strikes me that for templated scientific codes it is a common requirement.
Below is my implementation, please feel free to add it. I should probably inform the maintainer as well, John Maddock but there is no obvious way of contacting him via the boost site.
You've just found a way :-) John.