Boost C++ Libraries: Ticket #5541: Partial function application https://svn.boost.org/trac10/ticket/5541 <p> In functional languages, it's common to partially apply a function to some arguments in order to produce a function accepting only the remaining arguments. </p> <p> This can be approximated in C++ through use of our bind and its placeholders, but this requires knowledge of the number of placeholders to use to match the number of remaining parameters. </p> <p> Is it possible to construct Phoenix functions that when invoked with fewer arguments than its arity indicates will produce a function taking the remaining arguments? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5541 Trac 1.4.3 Thomas Heller Fri, 13 May 2011 10:39:53 GMT <link>https://svn.boost.org/trac10/ticket/5541#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5541#comment:1</guid> <description> <p> I think this might be possible to some extend. Further investigation is needed for functions with overloads of different arity and function objects. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Mon, 16 May 2011 14:32:26 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5541#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5541#comment:2</guid> <description> <p> I think it would be a bad idea to make this happen automatically without some special syntax. </p> </description> <category>Ticket</category> </item> </channel> </rss>