• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Can anyone explain what the function argument declaration: ( int _Tp::* ) means ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can anyone explain what the function argument declaration: ( int _Tp::* ) means ?


  • Subject: Can anyone explain what the function argument declaration: ( int _Tp::* ) means ?
  • From: Daniel Stenning <email@hidden>
  • Date: Tue, 21 Nov 2006 20:35:44 +0000
  • Thread-topic: Can anyone explain what the function argument declaration: ( int _Tp::* ) means ?

Can anyone explain what the function argument in:
 __one __test_type(int _Tp::*);

 means ?

Tp is a template place holder. It is in a function template. Here is the
full code:

namespace __gnu_internal
{
  typedef char __one;
  typedef char __two[2];

  template<typename _Tp>
  __one __test_type(int _Tp::*);
  template<typename _Tp>
  __two& __test_type(...);

} // namespace __gnu_internal



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Can anyone explain what the function argument declaration: ( int _Tp::* ) means ?
      • From: David A Rowland <email@hidden>
References: 
 >Re: why don't custom views have a "tag" in IB? (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: why don't custom views have a "tag" in IB?
  • Next by Date: Re: why don't custom views have a "tag" in IB?
  • Previous by thread: Re: why don't custom views have a "tag" in IB?
  • Next by thread: Re: Can anyone explain what the function argument declaration: ( int _Tp::* ) means ?
  • Index(es):
    • Date
    • Thread