class str{
char str[256];
public:
void set(char *s){
strcpy(str, s);
}
};

print(char *s){
cout << s;
}

int main(){
class str moziretu;
moziretu.set("文字列");
print(moziretu); // *
}

みたいなのを作りたいんですけど
print関数の第1引数にstrクラスを指定したときにstrクラス内のstrのポインタを渡す方法はないでしょうか?
operatorでいけるかなと思い試してみたのですがわかりませんでした・・・やっぱりclass strを渡したとしか認識しないのでしょうか