Date: Thu, 27 Dec 2007 17:38:01 +0100 From: "Heiko Wundram (Beenic)" <wundram@beenic.net> To: freebsd-hackers@freebsd.org Subject: Re: OT: C++ Template Functions Message-ID: <200712271738.01749.wundram@beenic.net> In-Reply-To: <4773CFB6.8020008@pacific.net.sg> References: <200712271621.12167.wundram@beenic.net> <200712271701.38821.wundram@beenic.net> <4773CFB6.8020008@pacific.net.sg>
next in thread | previous in thread | raw e-mail | index | archive | help
Am Donnerstag, 27. Dezember 2007 17:15:50 schrieb Erich Dollansky: > wasn't your question that you have a class with several member functions > which would all be identical except of the return type? No, that's perfectly clear that that won't work. My question was about a templated member function in a templated class, and instantiating the member template on an instance of the templated class inside a templated function which uses its template arguments to specialize the class and the corresponding member. Have a look at the source I sent initially, that should explain better what I'm trying to say, because I guess the problem isn't easily explained in words. -- Heiko Wundram Product & Application Development
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712271738.01749.wundram>