¡@

Home 

c++ Programming Glossary: ghistogram

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

error when I try to access bins private member of the GHistogram class from within the extractHistogram implementation error.. implementation error 'QVector double MyNamespace GHistogram bins' is private error within this context Where the 'within.. declaration Here's the code namespace MyNamespace class GHistogram public GHistogram qint32 numberOfBins qint32 getNumberOfBins..