Since operator dot ('.') is not defined, is there
maybe a workaround solution possible? 8 1388
Uenal Mutlu wrote: Since operator dot ('.') is not defined, is there maybe a workaround solution possible?
A solution to what problem?
"Old Wolf" wrote Uenal Mutlu wrote: Since operator dot ('.') is not defined, is there maybe a workaround solution possible?
A solution to what problem?
operator.()
Uenal Mutlu wrote: "Old Wolf" wrote Uenal Mutlu wrote: > Since operator dot ('.') is not defined, is there > maybe a workaround solution possible?
A solution to what problem?
operator.()
What is operator.()?
Alvin wrote: Uenal Mutlu wrote:
"Old Wolf" wrote Uenal Mutlu wrote: Since operator dot ('.') is not defined, is there maybe a workaround solution possible?
A solution to what problem?
operator.()
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.
To the OP: operator-> is available, operator*() is available.
Make use of those.
V
"Victor Bazarov" wrote Alvin wrote: Uenal Mutlu wrote:
"Old Wolf" wrote Uenal Mutlu wrote: > Since operator dot ('.') is not defined, is there > maybe a workaround solution possible?
A solution to what problem?
operator.() 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.
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 Mutlu wrote: [...] 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++.
Uenal Mutlu wrote: To the OP: operator-> is available, operator*() is available. Make use of those.
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.
You might look at the delegation mechanism described here: http://www.kangaroologic.com/interfa....html?path=2.6
as part of the proposed Boost Interfaces library.
( http://www.kangaroologic.com/interfa....html?path=2.6
)
An updated version will be available soon.
Jonathan
"Victor Bazarov" wrote Uenal Mutlu wrote: [...] 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++.
Believe it or not, but I've got it! It is possible! And it is so simple.
I'll post it soon. Stay tuned :-) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: klappnase |
last post by:
Hello everyone,
there have already been a couple of threads about IDLE's sometimes
annoying disability to use special characters (in my case I would like
to use for example german umlauts like...
|
by: joesoap |
last post by:
Hi can anybody please tell me what is wrong with my ostream operator???
this is the output i get using the 3 attached files.
this is the output after i run assignment2
-joesoap
#include...
|
by: Jonas Smithson |
last post by:
<div style="position: relative;> <!-- I'm the parent -->
blah blah blah
<div style="position: absolute; bottom: 0;> <!-- I'm the child -->
blah blah blah
</div>
</div>
The bottom of the...
|
by: Justin Shen |
last post by:
the output of the following codes is "greater than zero", which is rather
strange! the correct one should be "not greater than zero"
int a = 0x79de61c0; //2044617152;
a += 0x12345678;
//a is...
|
by: Mickey Segal |
last post by:
The long-simmering Eolas patent dispute:
http://www.microsoft.com/presspass/press/2003/oct03/10-06EOLASPR.mspx
has led to an optional Microsoft Update:
http://support.microsoft.com/kb/912945/en-us...
|
by: slyi |
last post by:
Hi All,
Does anyone use vml to force the printing of background-colors
in IE clients?
Regards,
slyi
eg:
<html xmlns:v="urn:schemas-microsoft-com:vml" >
|
by: Allen Browne |
last post by:
If you develop for others, you probably have multiple versions of Access
installed so you can edit and create MDEs for clients in different versions.
This works fine under Windows XP, even with...
|
by: William Johnston |
last post by:
Hi,
A support technician proposed a workaround to black images created for thumbnails.
The code to create a thumbnail is below:
//passes results to Response.OutputStream
private void...
|
by: AleXmanFree |
last post by:
Hi , I have got problem with passing my inline based value to y user
control (or custom control, no matter which one I use, I have tried
both to make sure it doesnt matter) .
So say I have...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |