Partilhar via


Stan Lippman's BLog

C++/CLI

The String Literal Returns

In the last entry, I celebrated what I felt was an elegant solution to the problem of the string...

Date: 12/08/2004

The Type of a String Literal Revisited ...

In the course of these entries, I have twice addressed the issue of the type of a string literal...

Date: 12/04/2004

A Primer on the Interior Pointer

A value type is typically not subject to garbage collection except in two cases: (a) when it is the...

Date: 08/27/2004

Translation Guide between Managed Extensions and the new C++/CLI binding Available

C and C++ programmers are notorious for relying on pointer indirection, and it seems blog entries...

Date: 08/21/2004

An Tour of the STL.NET

Part of the (reasonably pleasant) distractions from posting on this blog recently has been working...

Date: 08/14/2004

Why C++ Supports both Class and Typename for Type Parameters

Recently, someone asked me why we support both class and typename within C++ to indicate a type...

Date: 08/11/2004

Identifying the Candidate Function Set

Sorry it is taking me so long these days. I am in the throes of more formal writing – a book...

Date: 08/01/2004

The Value of a Value Class

A reader questions the nature of the value type when he writes, Sender: Slawomir...

Date: 07/23/2004

String Literal Conversion to String: Is It a Disaster?

A reader asks, Sender: Jackre: String Literals are now a Trivial Conversion to StringWon't it break...

Date: 07/23/2004

String Literal Conversion to String: Is It a Disaster?

A reader asks, Sender: Jackre: String Literals are now a Trivial Conversion to StringWon't it break...

Date: 07/23/2004

String Literals are now a Trivial Conversion to String

There was a recent internal thread on the resolution of the following set of overloaded member...

Date: 07/19/2004

Factor, Don't Complicate

A reader asks the following question, Sender: bv re: A Question about Copy Constructors in C++/CLI...

Date: 06/04/2004

Putting C++ and the CLI in Perspective

A surprising thread that has emerged has to do with libraries. Here is an representative example,...

Date: 06/04/2004

System::String -> std::string

A reader asks, Sender: Erik Brendengen Is there an easy way to convert from String^ to std::string?...

Date: 06/02/2004

A Question of Interopt

A reader asks the following question, Sender: Richard Hsu Stan, Would you suggest, for those of us...

Date: 06/02/2004

A Reader Bleakly Asks About the Future of C++ within Microsoft

A reader writes Sender: Brian Braatz ===================================== I posted the following to...

Date: 05/28/2004

C++/CLI: System::String^, std::string, and "a string literal"

Without thinking too hard I had held the following precept: std::string is to ISO C++ as...

Date: 05/20/2004

Yes, Value Types Have No Destructors

A reader comments Sender: Joe Pacheco ===================================== re: Integrating Dispose...

Date: 05/13/2004

Integrating Dispose and Finalize into the Language

A reader comments re: Changes in Destructor Semantics in Support of Deterministic Finalization I...

Date: 04/29/2004

Changes in Destructor Semantics in Support of Deterministic Finalization

In the original language design, a class destructor was permitted within a reference class but not...

Date: 03/25/2004

Having the right Type Vocabulary to discuss Boxed Value Types

Comments from Stan Lippman's BLog: Jon Flandersre: Value Type ReduxI think it is always important to...

Date: 03/09/2004

Value Type Redux

I’d like to thank Yves Dolce for responding to Wesner Moise who writes: Sender: Wesner Moise...

Date: 02/26/2004

Value Type Representation Between the Original and Revised C++

For the work I’ve been engaged in currently in machine translation of the original language...

Date: 02/26/2004

C++/CLI revision of the Managed Extension Reference Array Syntax

The declaration of a managed array object in the original language design was a slightly...

Date: 02/16/2004

Supporting Direct Handles to Boxed Value Types

A reader, Yves Dolce, writes: Related to your last blog entry: The Astonishing S"Literal" String...

Date: 02/13/2004

Bringing Existing ISO C++ to C++/CLI and Why We Don't Change L"hi"

indranil banerjee writes re: Virtual Function Behavior Between ISO C++ and C++/CLI Revisited Thanks...

Date: 02/12/2004

The Astonishing S"Literal" String Type

One of the astonishing infelicities of the original language design was the unflagged overhead of...

Date: 02/11/2004

Virtual Function Behavior Between ISO C++ and C++/CLI Revisited

I seem to have rather badly explained the `virtual function invocation within a constructor...

Date: 02/09/2004

The Name Return Value Optimization

I received the following mail the other day in response to my writing that the Visual C++ compiler...

Date: 02/03/2004

Making a Virtual Table Context-Sensitive

In part 1 of this discussion [the January 28th Blog entry], I pointed out a different behavior...

Date: 01/30/2004

Smalltalk and C++ -- a Reader Comment and Response

A reader, Chris Hanson, writes: re: A Fundamental Difference in Class Behavior between the Native...

Date: 01/29/2004

A Fundamental Difference in Class Behavior between the Native and Managed Object Model

I have used two primary metaphors in my discussions of bring C++ to the .NET platform. In terms of...

Date: 01/28/2004

A Question of Const

A reader, J. Daniel Smith, inquiries You wrote “The absence of const support in the base class...

Date: 01/22/2004

A Question about Copy Constructors in C++/CLI

Daniel O'Connell writes, re: Followup: The Absence of MI Hmm, Copy constructors...One would hope...

Date: 01/20/2004

What about Templates and Multiple Inheritance

A reader writes the following from the initial posting on this blog: re: The Revised C++ Language...

Date: 01/19/2004

C++/CLI: __try_cast<> becomes safe_cast<>

What’s Different in the Revised Language Definition? __try_cast becomes safe_cast<>...

Date: 01/08/2004

Conversion Operators

What’s Different in the Revised Language Definition? Conversion Operators      ...

Date: 12/17/2003

Declaring Delegates and Events

What’s Different in the Revised Language Definition? Delegates and Events       The...

Date: 12/15/2003

Declaring Indexed Properties

What’s Different in the Revised Language Definition? Declaring Indexed Properties     In...

Date: 12/12/2003

Property Declarations

What s Different in the Revised Language Definition? Declaring Properties In the original language...

Date: 12/11/2003

Implicit Boxing

What s Different in the Revised Language Definition? Implicit Boxing     Ok, so we...

Date: 12/10/2003

Declaration and Use of Overloaded Operators

What s Different in the Revised Language Definition? Support for Operator Overloading    ...

Date: 12/09/2003

The Declaration of a Managed Enum

What s Different in the Revised Language Definition? The Declaration of a Managed Enum Type  ...

Date: 12/08/2003

Next>