I have a class manage the content of a file and convert the file to a binary buffer, and I have a inner class which is a element in the file(basically it represents a single line). Like:
class CSR{
private:
    //some fields
public:
    Elem operator[](int numRow);
    //other methods
public:
    class Elem{
        private:
            //other fields
        public:
            friend CSR::Elem CSR::operator[]( int r );
    };
};
The compiler(VS 2012 Express) tells that "CSR has no member operator[]"
 
     
     
    