Re: Templates question
Re: Templates question
- Subject: Re: Templates question
- From: David Fang <email@hidden>
- Date: Sat, 24 Feb 2007 14:15:13 -0500 (EST)
> Visual C++ also permits some crazy things like pointer-to-member-
> function as a template argument. I've actually seen this used in
> someone else's code too.
>
> template <typename T, typename C, T (C::*getter)() const> class
> CrazyTemplate
> {
>
> };
That's not crazy, that's standard, conventional C++.
<insert witty comment about the relativity of craziness here>
Any C++ compiler that doesn't support it, isn't a C++ compiler.
Fang
_______________________________________________
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