here's my question:
What does the "const" at the end of a function do?
bool CheckAnimation(........) const;
const FrameSkeleton& GetSkeleton() const
{
return ........;
}
bool CheckAnimation(........) const;
const FrameSkeleton& GetSkeleton() const
{
return ........;
}
You can only call const-functions on a const object
[quote name='Brother Bob' timestamp='1353166388' post='5001769']
You can only call const-functions on a const object
You can call anything on a non-const object, but only const-functions on a const object.