September, 2004

  • Herb Sutter's Blog

    Simulating try/finally in plain C++ (without the C++/CLI extensions)

    • 2 Comments
    Dan wrote: I think this is close enough to try/finally in C++: Resource* pRes = new Resource; try { // use the allocated resource somehow } catch (...) { delete pRes; throw; } First, note that this code as written doesn't do "finally," because the idea...
  • Herb Sutter's Blog

    Downloading the Express beta compiler

    • 4 Comments
    Mark wrote: I have downloaded the Visual C++ Express and have been trying out simple programs. I have to say C++/CLI is amazingly simple and elegant compared to MC++. You guys rock!!! That reminds me to announce (belatedly): Try out the free Express compiler...
  • Herb Sutter's Blog

    C++/CLI timeline and one-line description

    • 4 Comments
    Ioannis Vranos wrote: There is an upcoming C++/CLI standard (currently draft, official document expected in December 2004) Just a note, we now expect to complete work on the C++/CLI standard in March and have it approved by Ecma in June. We wanted the...
  • Herb Sutter's Blog

    finally + destructors = best of both worlds

    • 3 Comments
    On comp.lang.c++.moderated, "Howard" < alicebt@hotmail.com > wrote: You know how we use try { } catch() {} in C++? Well, both Delphi and C# (which was developed with the aid of one of Delphi's main original developers) have another construct, which...
Page 1 of 1 (4 items)