[comp.lang.c++] Duff's device

leo@atcmp.nl (Leo Willems) (06/13/90)

Is Duff's device considered to be legal C++?

When I compiled it under 1.2 it gave a warning.
Under 2.0 it gives an error (about a missing case statement)

Thanks.


 Leo Willems			Internet: leo@atcmp.nl
 AT Computing			UUCP:     mcsun!hp4nl!kunivv1!atcmpe!leo
 P. O. Box 1428				
 6501 BK  Nijmegen		Phone:    +31-80-566880
 The Netherlands		Fax:	  +31-80-555887