Opened 17 years ago
Closed 15 years ago
#492 closed Bugs (fixed)
Adding boost::is_complex to type_traits.hpp
Reported by: | ejgrace | Owned by: | John Maddock |
---|---|---|---|
Milestone: | Component: | type_traits | |
Version: | None | Severity: | Problem |
Keywords: | Cc: |
Description (last modified by )
Following a discussion on boost-users I am adding this to the bug system so it doesn't get lost. Can someone add a boost::is_complex<T> trait so that checks for complex numbers can be made. This is a common requirement in templated scientific code as complex numbers sometimes need to be treated differently. Attached is my implementation, please feel free to incorperate it.
Change History (2)
comment:2 by , 15 years ago
Description: | modified (diff) |
---|---|
Resolution: | None → fixed |
Severity: | → Problem |
Status: | assigned → closed |
This has now (finally!) been added to SVN trunk.
Note:
See TracTickets
for help on using tickets.