Opened 14 years ago
Closed 14 years ago
#1944 closed Bugs (fixed)
Interval library pow function doesn't work with mpq_class and similar
Reported by: | Owned by: | Guillaume Melquiond | |
---|---|---|---|
Milestone: | Boost 1.36.0 | Component: | numeric |
Version: | Boost 1.35.0 | Severity: | Problem |
Keywords: | Cc: |
Description
The boost interval library pow function does not compile when an expression class system is used to avoid temporaries. e.g. It fails if you use, say, the mpq_class datatype from the gmp library. The fix is adding a single static_cast<T>.
Attachments (2)
Change History (5)
by , 14 years ago
by , 14 years ago
Attachment: | interval_pow.patch added |
---|
comment:1 by , 14 years ago
Owner: | changed from | to
---|
comment:2 by , 14 years ago
Owner: | changed from | to
---|
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Thanks for the report. Now fixed in revision 47986.