I Love that New Syntax Smell

C++ articles, code snippets, musings, etc. from Andy RichIf this is your first time here, you may want to check out my blog introduction.

November, 2003

  • I Love that New Syntax Smell

    Corrections, explanations, etc.

    • 2 Comments
    First, I should apologize for the lack of postings lately.  A combination of server downtime/outages and apathy have kept me from making postings.  Now that we're back up, I think I should clarify some of what I've said. Value types aren...
  • I Love that New Syntax Smell

    PtrToStringChars v2 remix

    • 1 Comments
    A while back, in order to get some code to compile, I had to update PtrToStringChars (found in vcclr.h) to work in the new Whidbey C++. In case anyone wants this, I've posted my implementation (and a small main() to drive it) here: p2sc.zip . ...
  • I Love that New Syntax Smell

    Branbray on handles

    • 3 Comments
    I was going to give a short introduction to the C++ handle (^) today.  But, Brandon did such a good job, I think I'll just link to his article .
  • I Love that New Syntax Smell

    Simple stack code

    • 12 Comments
    We've got a code sample today, of a simple integer stack implemented using Whidbey C++.  I'll implement it using three pieces of code: stack.h - definition of the stack stack.cpp - implementation of the stack main.cpp - driver...
  • I Love that New Syntax Smell

    The value type

    • 3 Comments
    Last time, I discussed the ref type .  This time, I'm going to talk about the value type.  This is the CLR type exposed in Managed Extensions by the __value keyword, and available in Whidbey C++ using the context-sensitive keyword value...
  • I Love that New Syntax Smell

    The ref type

    • 1 Comments
    There are two major CLR types that we expose in Whidbey: ref and value . I'll talk about ref types here, and about value types later. So, what is a ref type?   This is the same type that was exposed in Managed Extensions as __gc . ...
  • I Love that New Syntax Smell

    Context-sensitive keywords

    • 1 Comments
    If you've used Managed Extensions, you're familiar with the CLR types that __gc and __value exposed.  These have now been replaced with the context-sensitive keywords ref and value . Context-sensitive keywords?   That's right. ...
  • I Love that New Syntax Smell

    That crazy GC Heap

    • 1 Comments
    ...or, "Hey! My data ain't garbage!"...
  • I Love that New Syntax Smell

    Introduction

    • 2 Comments
    ...or, "Do we really need another blog?"...
Page 1 of 1 (9 items)