$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2005-12-29 03:45:29
Eric Niebler wrote:
> OK, now here's a simple thing anybody can do to improve Foreach and 
> Typeof. Try compiling the attached file on your favorite compiler and 
> report the results. I already know it works for VC7.1+ and gcc 3.4+. 
> Everything else is up for grabs.
cxx on Tru64:
 > cxx -version V7.1-006 -std strict_ansi -model ansi 
-I/vol2/boost/src/boost-HEAD is_rvalue.cpp
cxx: Error: is_rvalue.cpp, line 69: the size of an array must be greater than
           zero
     char test4[ ! IS_RVALUE(ci) ];
----------------^
cxx: Error: is_rvalue.cpp, line 76: the size of an array must be greater than
           zero
     char test6[   IS_RVALUE(cfoo()) ];
------------------^
cxx: Error: is_rvalue.cpp, line 77: the size of an array must be greater than
           zero
     char test7[   IS_RVALUE(make_foo()) ];
------------------^
cxx: Info: 3 errors detected in the compilation of "is_rvalue.cpp".
Compilation exited abnormally with code 1 at Thu Dec 29 08:31:45
Markus