Idea #2940
Produce test case and submit bug report to GCC of std::enable_if misbehavior
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Third Party
Target version:
-
Start date:
08/29/2012
Due date:
% Done:
0%
Estimated time:
Experiment:
-
SSI Package:
Description
In fhiclcpp package, coding.h
was using a definition of disable_if
found in type_traits.h
. However, adding interface to intermediate_table.h
caused a problem whereby disable_if
did not appear to work as desired. Several alternative (alias template, from-scratch) implementations also failed to work. The only thing that did work was replacing the use of disable_if
with the use of enable_if
with the Boolean condition explicitly negated. When time permits, we should produce a small test case and submit to GCC against v4.7.1.
History
#1 Updated by Marc Paterno over 8 years ago
- Status changed from New to Closed