[Boost-bugs] [Boost C++ Libraries] #5541: Partial function application

Subject: [Boost-bugs] [Boost C++ Libraries] #5541: Partial function application
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-05-13 10:35:10


#5541: Partial function application
---------------------------------------+------------------------------------
 Reporter: Lars Viklund <zao@…> | Owner: theller
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: phoenix
  Version: Boost Development Trunk | Severity: Not Applicable
 Keywords: |
---------------------------------------+------------------------------------
 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.

 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.

 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?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5541>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC