David Abrahams <[EMAIL PROTECTED]> writes: > I think the fix is much easier than either of those: > > typedef integral_c<T, static_cast<T>(value + 1)> next; > typedef integral_c<T, static_cast<T>(value - 1)> prior;
Could you try that and see if it works? Thanks, Dave -- David Abrahams [EMAIL PROTECTED] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost