[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc
Subject: Re: New problems with gcc-2.8.0 based code - NOW FIXED!
From: Toon Moene <toon () moene ! indiv ! nluug ! nl>
Date: 1997-12-30 21:38:18
[Download RAW message or body]
Joe, you must be kiddin'
> Imagine a C-like language where functions are pure
> (side-effect-free) by default, and one had to say "impure"
> to turn this off. Clearly it would be reasonable to make
> void functions "impure" by default, and it would seem
> strange to be swayed by the argument that a pure void
> function cannot then be written. A pure void function
> is necessarily a no-op, same as a nonvolatile asm
> instruction with no outputs.
You are describing a Fortran-95 PURE FUNCTION :-)
[ IMPURE functions, obviously, are SUBROUTINEs ... ]
Cheers,
Toon.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic