$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Stephen Gross (sgross_at_[hidden])
Date: 2005-09-02 10:16:07
Is there a way to use bind and/or lambda to create a functor that:
(1) Takes as input a single argument (that is ignored), and
(2) Returns a constant value.
Ideally, something along the lines of:
bind(constant(5), _1) // _1 is passed but ignored.
Thanks,
--Steve
Stephen Gross
Case Western School of Medicine
Cleveland, OH
"By Grabthar's hammer, by the sons of Worvan, you shall be avenged." - Dr.
Lazarus