prog.cpp: In function 'int main()':
prog.cpp:16:61: error: invalid initialization of non-const reference of type 'std::ios_base&' from an rvalue of type 'int'
std::cout << "The number a in fixed: " << std::fixed(6) << ss << '\n'
^
In file included from /usr/include/c++/5/ios:42:0,
from /usr/include/c++/5/ostream:38,
from /usr/include/c++/5/iostream:39,
from prog.cpp:1:
/usr/include/c++/5/bits/ios_base.h:1035:3: note: in passing argument 1 of 'std::ios_base& std::fixed(std::ios_base&)'
fixed(ios_base& __base)
^