Hi Eli, > If you follow John's advice and do the promotion in > UsualUnaryConversions, it should pick up this case without extra code. No, it won't pick. UsualUnaryConversions are not called for x++, etc. Otherwise it will already pick the stuff, since UsualUnaryConversions does lvalue-to-rvalue conversion as the first step.
-- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
