Opened 13 years ago
Closed 12 years ago
#3203 closed Bugs (wontfix)
boost::result_of not honoring F::result
Reported by: | Christopher Schmidt | Owned by: | danmarsden |
---|---|---|---|
Milestone: | Boost 1.40.0 | Component: | fusion |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | c++0x | Cc: |
Description
boost::result_of used with compilers with decltype support seems to be inconsistent with the documentation. The decltype implementation does not honor the result metafunction at all, which yields to problems when using boost::result_of on pure metafunction classes, such as being done in Boost.Fusion (e.g. see the trunk issues on the zip_view testcases on gcc-4.4.0_gnu++0x).
Change History (5)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Owner: | changed from | to
---|
comment:3 by , 13 years ago
Owner: | changed from | to
---|
comment:4 by , 13 years ago
Component: | utility → fusion |
---|
comment:5 by , 12 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
boost::result_of does not use decltype any more...
Note:
See TracTickets
for help on using tickets.
The behavior of boost::result_of is correct according to the standard. Fusion is using it incorrectly.