|function reference not found(CTRL+SHIFT+G) [message #1229346]
||Thu, 09 January 2014 08:49
| Reza Roboubi
Registered: January 2014
The program compiles without any warnings.|
(CTRL+SHIFT+G) cannot find the reference to a (simple, non-template) global function.
I'm pretty sure the reason is:
.) The global function takes a float* as argument.
.) & x->comp(i) is passed as argument to the global function.
.) But because x has a templated type, CDT cannot _see_ that I'm passing the correct parameter type(float*) to the function.
Thanks in advance.
Powered by FUDForum
. Page generated in 0.01509 seconds