Hi, guys:Our template specification runs well under gcc3.23 but gets "Multiple Definition" error under gcc3.4 or gcc 4. For some reason, we can't make the specified methods inline as c++ standard suggests.
Please help to check the attached code sample and give your opinion. Thank you very much!
test_template.tar.gz [run "./compile.sh" under gcc3.2.3 will get the correct result.][run "./compile.sh" under gcc3.4 and gcc4.* will get "Multiple Definition" error.]
Kind Regards, Tao
Attachment:
test_template.tar.gz
Description: application/gzip