[Bug c++/61072] template with non-type parameter of type std::string&
agostino.cavarero at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue May 6 07:49:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61072
--- Comment #3 from agostino.cavarero at gmail dot com ---
Tested again using version 4.3.4.
It works as expected:
Command:
g++ stringTemplateTest.cpp stringTemplateTestMain.cpp
Output:
[...] In function `main':
stringTemplateTestMain.cpp:(.text+0x66): undefined reference to
`_ZN9TempClassILZ5kCiaoEE11printStringEv'
collect2: ld returned 1 exit status
More information about the Gcc-bugs
mailing list