Menu

#25 Broken with VS2012

Unstable_(example)
open
nobody
VS2012 (1)
3
2013-09-10
2013-09-10
Meng Zhu
No

Broken when compiled on VS2012:
SmallObj.cpp(1201): error C2248: 'std::bad_alloc::bad_alloc' : cannot access private member declared in class 'std::bad_alloc'
...\Microsoft Visual Studio 11.0\VC\include\exception(379) : see declaration of 'std::bad_alloc::bad_alloc'
...\Microsoft Visual Studio 11.0\VC\include\exception(364) : see declaration of 'std::bad_alloc'

Attached is my solution.

1 Attachments

Discussion


Log in to post a comment.