2
0
mirror of https://github.com/boostorg/lambda.git synced 2026-02-22 03:22:25 +00:00

Add result_type to lambda::ret. Fixes #1222

[SVN r53648]
This commit is contained in:
Steven Watanabe
2009-06-05 01:20:06 +00:00
parent 0f60055086
commit 41eb864595
3 changed files with 56 additions and 0 deletions

View File

@@ -270,6 +270,8 @@ class lambda_functor_base<explicit_return_type_action<RET>, Args>
public:
Args args;
typedef RET result_type;
explicit lambda_functor_base(const Args& a) : args(a) {}
template <class SigArgs> struct sig { typedef RET type; };