U
Uenal Mutlu
Since operator dot ('.') is not defined, is there
maybe a workaround solution possible?
maybe a workaround solution possible?
Uenal said:Since operator dot ('.') is not defined, is there
maybe a workaround solution possible?
A solution to what problem?
Uenal said:operator.()
Alvin said:What is operator.()?
My guess is the OP wants to overload it. Since it is not
allowed, the OP wants to see what is available.
Exactly.
To the OP: operator-> is available, operator*() is available.
Make use of those.
Uenal said:[...]
I know, but I would like to overload the dot to route
the access to a different class.
I have the feeling that this is somehow already possible,
but haven't figured out yet how.
Uenal said:I know, but I would like to overload the dot to route
the access to a different class.
I have the feeling that this is somehow already possible,
but haven't figured out yet how.
Uenal said:[...]
I know, but I would like to overload the dot to route
the access to a different class.
I have the feeling that this is somehow already possible,
but haven't figured out yet how.
Well, you might want to hold onto that feeling. Nothing
compares to a dream that can never come true.
Oh, if you ever figure it out, come back and share. C++
programmers love to be surprised when it comes to C++.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.