July, 2004

  • Herb Sutter's Blog

    C++ RAII compared with Java Dispose pattern

    • 5 Comments
    Earlier today I wrote that: “ The C++ destructor model is exactly the same as the Dispose and using patterns, except that it is far easier to use and a direct language feature and correct by default, instead of a coding pattern that is off by default...
  • Herb Sutter's Blog

    More on % (managed reference)

    • 0 Comments
    Keith Duggar asked: Ok, I'm missing a basic point here. So, out of curiousity: 1) Is there any overhead associated with using 'T%' in place of 'T&'? No. 2) Are there things that can be done with 'T&' that cannot be done with...
  • Herb Sutter's Blog

    Using % and &

    • 1 Comments
    This post brings together three related questions and answers posted recently on comp.lang.c++.moderated. They all have to do with the relationship between % (tracking reference) and & (unmanaged reference). First, Dietmar Kuehl asked about this...
  • Herb Sutter's Blog

    The object lifetime issue is the same in C++, Java, C#

    • 1 Comments
    I’m going to echo various interesting pieces of newsgroup discussion here. Check out the newsgroups for the full threads. On comp.lang.c++.moderated, Dietmar Kuehl <dietmar_kuehl@yahoo.com> wrote: I have thought about integrating GC...
Page 1 of 1 (4 items)