0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

bcb6 > AnsiString関連のメモリリーク

Last updated at Posted at 2015-11-12

BCB6のメモリリーク関連
http://www.tek-tips.com/viewthread.cfm?qid=1384862

   for(j = 0; j < hmax; j++)
    {
        MyString strTest2 = "test";
        strTest2 += MyString("Random test: ") + "test3";
        //OutputDebugString(IntToStr(j).c_str());
    }

において、MyStringの宣言がfor()内にある時におかしくなるような記載があった。

XE4や最近のバージョンの振舞は未整理。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?