¡@

Home 

c++ Programming Glossary: extracthistogram

Why this friend function can't access a private member of the class?

http://stackoverflow.com/questions/2500670/why-this-friend-function-cant-access-a-private-member-of-the-class

private member of the GHistogram class from within the extractHistogram implementation error 'QVector double MyNamespace GHistogram.. Where the 'within this context' error points to the extractHistogram implementation. Does anyone knows what's wrong with my friend.. double getValueAt qint32 i friend GHistogram MyNamespace extractHistogram GImage image qint32 numberOfBins private QVector double bins..