bOK = operator >> ( dwSize );
My question is how does this work? I'm not sure if it works like a variable when it's assigning a value using parenthesis. Maybe there was somebody that have posted like this before but I just don't know what it's called if it was some kind of a function.
To call this function, you do not use: bOK = operator >> ( dwSize );
Assuming that bOK is a bFile and dwSize is a std::vector, you just need to use: bOK >> dwSize;
The operator functions are meant to make our lives easier. The class that holds the operator is always the left-hand side of the operator and whatever type is used as the argument is the right hand side.
bOK is a boolean variable. so you need to call it like jhomers showed above. Since operator >> probably returns a stream (or something else that itself has an operator for boolean) and you want the result of that (if it's ok)