🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by James Clark Fri, 24 Nov 1989 16:37
reference to an array
#614
Author: James Clark
Date: Fri, 24 Nov 1989 16:37
8 lines
578 bytes
g++ 1.36.1 rejects the following with the diagnostic ``invalid type
conversion for reference''.  cfront 2.0 accepts it.

int v[5];
int (&p)[5] = v;

James Clark
jjc@jclark.uucp
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads