Thomas Capricelli 17d080edf2 clang shocks on this.
According to people on #llvm, this is indeed not allowed by c++ standard:

[01:33] <coppro> what good would mutable do on a reference?
[01:33] <dgregor> orzel: gcc is wrong to allow "mutable" on references
[01:33] <coppro> just remove mutable; it won't damage the code at all
[01:34] <dgregor> "The mutable specifier can be applied only to names of
class data members (9.2) and cannot be applied to
[01:34] <dgregor> names declared const or static, and cannot be applied to
reference members."
[01:34] <coppro> constness is not passed from an object to the referents of
its members anyways
2010-05-21 01:37:48 +02:00
2010-04-29 08:04:42 -04:00
2009-10-02 18:45:24 +02:00
2010-05-21 01:37:48 +02:00
2010-04-29 10:40:52 -04:00
2009-10-05 07:58:53 -04:00
2009-11-19 12:09:04 -05:00
Description
No description provided
MPL-2.0 148 MiB
Languages
C++ 85.1%
Fortran 8.5%
C 2.8%
CMake 1.9%
Cuda 1.2%
Other 0.4%