🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
1 messages
1 total messages Started by kha Tue, 20 Jun 1989 02:14
Minor bug in String.h
#13
Author: kha
Date: Tue, 20 Jun 1989 02:14
14 lines
925 bytes
operator = should not be void functions. (The law of the least
astonishment).
The standard libraries should use return values on operators and
assignment operators should normally have the behavior described in
Kernigan & Ritchie: The C Programming Language ( second edition )
Chap. 2.10

VHMap uses a assignment in a return statement, and fails to compile
when used on strings. 

To Doug: Sorry for the other copy of this message. ( In an unfinished
state.) But I hitted ^c^c to early. :-)

                                        Knut-Haavard Aksnes.
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