Title
Agreement of deduced and explicitly-specified variable types
Status
open
Section
9.2.9.6 [dcl.spec.auto]
Submitter
Nina Ranns

Created on 2018-10-24.00:00:00 last changed 27 months ago

Messages

Date: 2018-10-24.00:00:00

The Standard does not explicitly address whether an example like the following is well-formed or not:

  struct S {
    static int i;
  };
  auto S::i = 23;

There is implementation divergence on the handling of this example.

History
Date User Action Args
2018-10-24 00:00:00admincreate