Sure you can, just put boost::lambda before each thing. For example: namespace bll = boost::lambda; std::vector<int> vnNumbers(20); int nNumber; std::for_each(vnNumbers.begin(), vnNumbers.end(), bll::_1 = bll::var(nNumber)++); -delfin
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Agoston Bejo Sent: Wednesday, December 01, 2004 12:27 PM To: boost-users@lists.boost.org Subject: [Boost-users] boost::lambda without 'use namespace'
Hi all, is there a way to use the boost::lambda library without having to use boost::lambda; ? I would like to use lambda expressions in a header file, therefore without 'use'-ing the namespace.
Thx, Agoston
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users