
24 Oct
2004
24 Oct
'04
6:37 a.m.
Cromwell Enage writes:
Methinks I found the problem, not in numeric_cast, but in the numeric ops themselves.
The divides metafunction, for example, inherits from the apply template nested inside the divides_impl template. The problem is that the primary divides_impl template inherits from if_c, which doesn't have a nested apply template, although its argument types do. The same type of problem occurs in all other numeric ops, including the comparison ops.
Cromwell, I just fixed this both in the main trunk and RC_1_32_0 branch. Sorry that it took me so long to address the issue, and thanks for reporting it! -- Aleksey Gurtovoy MetaCommunications Engineering