<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: ’Almost real’ functor objects in C#</title>
	<atom:link href="http://www.labraaten.com/wpblog/2007/10/27/%e2%80%99almost-real%e2%80%99-functor-objects-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.labraaten.com/wpblog/2007/10/27/%e2%80%99almost-real%e2%80%99-functor-objects-in-c/</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Tue, 07 Feb 2012 14:32:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Orlin</title>
		<link>http://www.labraaten.com/wpblog/2007/10/27/%e2%80%99almost-real%e2%80%99-functor-objects-in-c/#comment-10791</link>
		<dc:creator>Orlin</dc:creator>
		<pubDate>Sun, 13 Sep 2009 13:30:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.labraaten.com/wpblog/2007/10/27/%e2%80%99almost-real%e2%80%99-functor-objects-in-c/#comment-10791</guid>
		<description>Nice yes but not quite there yet. I would like to see something like in C++ where you can create your Functor object and than simply call it as a function, I couldn\\\'t make this happen:

public class Functor
{
    public int FunctionToCallImplicitly(int a) { return a; }
}
public static class Program
{
    public static void Main()
    {
        Functor f = new Functor();
        int a = f(1);
    }
}

Thanks for the writeup though.</description>
		<content:encoded><![CDATA[<p>Nice yes but not quite there yet. I would like to see something like in C++ where you can create your Functor object and than simply call it as a function, I couldn\\\&#8217;t make this happen:</p>
<p>public class Functor<br />
{<br />
    public int FunctionToCallImplicitly(int a) { return a; }<br />
}<br />
public static class Program<br />
{<br />
    public static void Main()<br />
    {<br />
        Functor f = new Functor();<br />
        int a = f(1);<br />
    }<br />
}</p>
<p>Thanks for the writeup though.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

