Hi,
Howard Hinnant wrote:
I've put up a new version of an C++03 emulated unique_ptr here:
<skip>
I tried to use this implementation with MSVC 7.1 sp1 and 9.0 sp1 and encounter ICE in the following code:
<skip>
Here is the exact compiler output:
1>c:\prj\vs2005\projects\unique_tsts\unique_tst\unique_tst.cpp(21) : fatal error C1001: An internal error has occurred in the compiler.
<skip>
Is something wrong with my code or is it a "pure" MSVC bug?
Ovanes Markarian wrote: Would probably specifying the /Zm2000 compiler help? Can't test it right now. This is the precompiled header memory size, but I found it to be helpful even in non-precompiled header projects/files.
I used /Zm=1000, the compiler got out of heap space with /Zm=2000 :( -- Sergey Skorokhodov