Sign in to follow this  

Assigning 'any' to another any

This topic is 4386 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

The code following code: struct moo { int x; }; moo p; any a1(@p); any a2; a2 = a1; Results in visual c++ 2005 giving me the following message when my program exits "Windows has triggered a breakpoint in test.exe. This may be due to a corruption of the heap, and indicates a bug in test.exe or any of the DLLs it has loaded. The output window may have more diagnostic information" However, the program appears to work fine (a2, does indeed hold a correct handle to the moo instance). What could be the problem? [Edited by - Tylon on December 4, 2005 7:48:15 AM]

Share this post


Link to post
Share on other sites
I've not been able to reproduce this. As far as I can tell everything is working fine with the any type, I executed your script without any problem when the application is shutting down.

Would it be possible for you to send me tiny test app that reproduces the problem?

Regards,
Andreas

Share this post


Link to post
Share on other sites

This topic is 4386 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this