[PPL-devel] ppl/src checked_float.inlines.hh
Roberto Bagnara
roberto at cs.unipr.it
Tue Oct 4 12:00:07 CEST 2005
CVSROOT: /cvs/ppl
Module name: ppl
Changes by: roberto at cs.unipr.it 2005-10-04 12:00:07
Modified files:
src : checked_float.inlines.hh
Log message:
Point 3 of Section 6.7.3 [Type qualifiers] of the C99 standard says that
"The properties associated with qualified types [const, restrict, volatile]
are meaningful only for expressions that are lvalues."
Point 8 of Section 7.1.5.1 [The cv qualifiers] of the C++98 standard says
that "In general, the semantics of volatile are intended to be the same
in C++ as they are in C."
Since functions can only return rvalues, and since C++98 and C99 are
(believed to be) converging, the type qualifier "volatile" on return type
has been removed. FIXME resolved.
Patches:
http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/src/checked_float.inlines.hh.diff?cvsroot=ppl&r1=1.43&r2=1.44
More information about the PPL-devel
mailing list