MainComputersProgrammingLanguages › Reference Initializations

Reference Initializations

Edit Page
Report
Scan day: 16 February 2014 UTC
2
Virus safety - good
Description: Explains how the rules for initializing references differ from the rules for initializing pointers.
Reference Initializations | Embedded The rules for initializing references resemble the rules for initializing pointers. But they do differ. And you should know how. I began this year's columns with a series on reference types in C++. (See "An Introduction to References," January 2001, p. 81 for the first of these.) I then realized I needed to employ the concepts of lvalues and rvalues in further discussions of references, so I took a little detour to explain them. (See "Lvalues and Rvalues," June 2001, p. 70.) Now I'm returning to my explanation of references with a look at one aspect of reference initialization that many programmers find somewhat surprising.
Size: 698 chars

Contact Information

Email:
Phone&Fax:
Address:
Extended:

WEBSITE Info

Page title:Reference Initializations | Embedded
Keywords:
Description:Embedded.com is a leading source for reliable Embedded Systems development articles, tech papers, webinars, courses, products, and tools. Visit Embedded.com for the latest information on Embedded Development industries, insights, and educational resources.
IP-address:192.155.48.108

WHOIS Info

NS
Name Server: NS1.UBM-US.NET
Name Server: NS2.UBM-US.NET
Name Server: NS3.UBM-US.NET
WHOIS
Status: clientTransferProhibited
Date
Creation Date: 12-jun-1995
Expiration Date: 11-jun-2014