doc bug struct const D website

sclytrack sclytrack at pi.be
Mon Jun 9 12:53:13 PDT 2008


at the bottom of
http://digitalmars.com/d/2.0/struct.html
there is example

struct S
{
    int[] buf;
    int a;

    S* opAssign(ref const S s)
    {
	a = s.a;   //error  const(float[]) to float[]
	return this;
    }

somebody else file bug.
bleh.



More information about the Digitalmars-d mailing list