Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: gustav@arp.anu.edu.au (Zdzislaw Meglicki)
Subject: C++ on Alphas: memory misalignment
Date: 1996/03/20	[thread overview]
Message-ID: <4iq16s$bcd@manuel.anu.edu.au> (raw)

I am getting a memory misalignment problem when calling
   new some_such_class
The dxbook "DEC C++ Manual" flags this as a common problem
and suggests that the "new" and "delete" operators should be 
overloaded by program developers so that they always return
pointers to "quadword aligned memory". 

Could someone provide a simple example of how to ensure that?

-- 
 Zdzislaw Meglicki, Zdzislaw.Meglicki@cisr.anu.edu.au,
 Parallel Computing Research Facility, CISR,
 The Australian National University, Canberra, A.C.T., 0200,
 Australia, fax: +61-6-249-0747, tel: +61-6-249-0158



                 reply	other threads:[~1996-03-20  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox