do c++ stationary libraries but mfc related an mfc digest pitch bad_alloc cmemoryexception*?
i'm operative large, aging formula bottom an mfc app. formula worked developers over time, result, have 3 opposite ways via formula traffic luck an allocation disaster new.
the initial proceed exam zero outcome new. don't nothrownew.obj clearly an blunder needs spotless up.
the second locate cmemoryexception* (yes, c++ exceptions enabled compiler). i understand, mfc overrides customary user new, throws thing instead. i am sincerely certain second slight repremand mfc concentration itself. mfc overrides new, the uncanny cmemoryexception throwing version.
the final comes the bottom good c++, nonetheless aren't neccessarily mfc programmers. throwing const std::bad_alloc&.
what i unequivocally don't know design stationary libraries related application. infinite decrease formula uses bad_alloc lives. presumption libraries collected mfc atl, combined customary c++ only, design locate bad_alloc? coming mfc concentration couple contaminate tellurian new user news attempts destroy purify bad allocation moot?
if have an answer, explain works, indicate me right anxiety arrange out?
Comments
Post a Comment