<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [MSVC] 'mutable' must be allowed to be applied to references"
   href="http://llvm.org/bugs/show_bug.cgi?id=22444">22444</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[MSVC] 'mutable' must be allowed to be applied to references
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>C++
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>a.bataev@gmx.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>#include <future>

int main (){
return 0;
}

Standart c++ header <future> includes  <ppltasks.h> (line 18). <ppltasks.h> in
it's turn uses header 
<ppl.h>(line 21), where such definition appears: 

    mutable _Combinable_type &_Combinable; // (line 4151: column 5)

In such definition keyword mutable is applied to a reference type despite the
fact that it violates C++11 standart:
"The mutable specifier shall appear only in the declaration of a non-static
data member (9.2) whose type is
neither const-qualified nor a reference type."  (C++11 standart: 7.1.1 Storage
class specifiers)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>