Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* C++ on Alphas: memory misalignment
@ 1996-03-20  5:00 Zdzislaw Meglicki
  0 siblings, 0 replies; only message in thread
From: Zdzislaw Meglicki @ 1996-03-20  5:00 UTC (permalink / 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-03-20  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-20  5:00 C++ on Alphas: memory misalignment Zdzislaw Meglicki

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