Related questions
Use of external C++ headers in Objective-C
In my iOS project I need to use an external library written in C++. The C++ header files are all in one directory.
I've added these C++ headers to my Xcode project, and also specified a header search path (in …
Returning reference to local temporary object
This code
virtual const core::matrix4& getViewMatrixAffector() const {return core::matrix4();};
results with a warning telling me "Returning reference to local temporary object"...
How to solve this warning?
As mentioned below i tried to remove the '&'...