Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > C++ experts advice needed

Reply
Thread Tools

C++ experts advice needed

 
 
sandSpiderX
Guest
Posts: n/a
 
      07-15-2005
Hi,
Can any one explain this to me....

"For every quintuple (C1, C2, T, CV1, CV2), where C2 is a class type,
C1 is the same type as C2 or is a
derived class of C2, T is an object type or a function type, and CV1
and CV2 are cvqualifierseqs,
there
exist candidate operator functions of the form
CV12 T& operator>*(
CV1 C1*, CV2 T C2::*);
where CV12 is the union of CV1 and CV2."

Everything is understandble , but for
CV2 T C2::*

what does this mean ?

Help
sandSpiderX

 
Reply With Quote
 
 
 
 
sandSpiderX
Guest
Posts: n/a
 
      07-15-2005
operator is :- as shown above ,

CV12 T& operator->*(CV1 C1*, CV2 T C2::*);

thanks...
sandSpiderX

 
Reply With Quote
 
 
 
 
msalters
Guest
Posts: n/a
 
      07-15-2005


sandSpiderX schreef:
> Hi,
> Can any one explain this to me....
>
> "For every quintuple (C1, C2, T, CV1, CV2), where C2 is a class type,
> C1 is the same type as C2 or is a
> derived class of C2, T is an object type or a function type, and CV1
> and CV2 are cvqualifierseqs,
> there
> exist candidate operator functions of the form
> CV12 T& operator>*(
> CV1 C1*, CV2 T C2::*);
> where CV12 is the union of CV1 and CV2."
>
> Everything is understandble , but for
> CV2 T C2::*


It's a member pointer
T is the type of the member, and C2 is the class that contains a T.
Since C1 is derived from C2, it will contain the same member of type T.

Members can have a cv-qualifier seq too and CV2 is that cv-qualifier
seq.

So if you have a const int Base::m_i; then &Base::m_i is a CV2 T C2::*
with CV2=const, T=int and C2==Base.

HTH,
Michiel Salters

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.Net ROI - requesting advice from the experts littleccguy ASP .Net 2 05-23-2006 08:20 PM
Advice from distutils experts? olsongt@verizon.net Python 1 03-04-2006 11:11 PM
Loox / JLoox experts needed aww91@yahoo.com Java 0 01-09-2006 02:34 PM
XML experts needed Wim Hoogenraad XML 1 07-29-2005 07:25 PM
Zope experts needed for help Ahmed MOHAMED ALI Python 0 02-23-2004 10:36 AM



Advertisments