http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58781

--- Comment #1 from Ed Smith-Rowland <3dw4rd at verizon dot net> ---
Created attachment 31061
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31061&action=edit
Busybox showing that the passed in string to the operator is OK.

When I run the busybox I get:
[ed@localhost ~]$ /home/ed/bin/bin/g++ -std=c++11 -o test_pr58781
test_pr58781.cpp
[ed@localhost ~]$ ./test_pr58781 
1
0x400cd0
 0x1181
0x1
0x400cd8
 0x8111
0x2
0x400ce0
 0x20
 0x1181

String literals work.

I'll look at how decltype works.

The result of these decltypes should be 'int'.

Reply via email to