[Boost-bugs] [ boost-Bugs-1009515 ] Is there a Bug In boost::any?

Bugs item #1009515, was opened at 2004-08-15 20:15 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1009515&group_id=7586 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: palzhou (palzhou) Assigned to: Nobody/Anonymous (nobody) Summary: Is there a Bug In boost::any? Initial Comment: Is there a Bug In boost::any? Description: In my DLL,There is a class as follows: class MyClass { ... boost::any m_var; } and DLL has an interface: void SetVar(boost::any & anyValue) { pMyClass->m_var = anyValue; } There is an application uses the SetVar interface and pass into a boost::any object. void SomeFunc() { ... boost::any anyValue; ... pfSetVar(anyValue); ... } result: when exit, The application will be crash , the spot of crash is at the destruction of class boost::any. ... class any { ... ~any() { delete content; // error,error code 0xC0000005。 } ... } ... environment: MS windows 2000 pro sp4 MS vc6 sp5 boost 1.31 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1009515&group_id=7586 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Boost-bugs mailing list Boost-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs
participants (1)
-
SourceForge.net