Public bug reported:
1) The release of Ubuntu I am using:
$ lsb_release -rd
Description:Ubuntu 14.04 LTS
Release:14.04
2) The package version:
$ apt-cache policy g++
g++:
Installed: 4:4.8.2-1ubuntu6
Candidate: 4:4.8.2-1ubuntu6
Version table:
*** 4:4.8.2-1ubuntu6 0
500
The source code compiles and works as expected if I explicitly make S::i
to be of type int and S to be non-template:
struct S
{
int i{42};
};
int main()
{
S i;
...
}
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https:/