node.js - [] overloading c++ array of functions not allowed -
hello im trying create graph , im working on function prototypes, on [] operator overload function im getting following error:array of functions not allowed here prototype:
binarytree& ooperator[](int vertex);
binary tree binary tree class need change work
you've misspelled operator
ooperator
. oops!
binarytree& operator[](int vertex); // ^
Comments
Post a Comment