$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [boost-users][bind, lambda] delayed assignment
From: Igor R (boost.lists_at_[hidden])
Date: 2009-04-01 14:47:49
Hello,
I'd like to bild on-the-fly functor that would do something like:
a_ = 1, b_ = 2; // a_, b_ - members
But the assignment should be delayed until the functor is invoked.
How can I do this with bind/lamda?
Thanks!