Web Log di Adrian Florea

"You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away." Antoine de Saint-Exupery
posts - 440, comments - 2715, trackbacks - 3944

My Links

Archives

Post Categories

Image Galleries

.RO Blogs

.RO People

.RO Sites

Blogs

Furls

Links

vinCitori

The null type (un po' più chiaro)

In riferimento alla mia perplessità sul null type, ho trovato alcuni spunti in questo documento: C++/CLI Language Specification. Candidate Base Document:

p. 43
"The null type is a special type that exists solely to support the null literal, nullptr (also referred to as the null value constant). No instances of this type can be created; the only way to obtain a value of this type is via the nullptr literal, whose type is the null type."

p. 37
"The null literal (nullptr) is not an lvalue."

p. 61
"The sizeof operator shall not be applied to an expression that has null type."

L'equivalente di nullptr in C# è null e in MSIL è nullref.

Print | posted on lunedì 14 giugno 2004 04:23 | Filed Under [ Carillon .NET ]

Powered by:
Powered By Subtext Powered By ASP.NET