|
Boost : |
From: Joseph Gauterin (joseph.gauterin_at_[hidden])
Date: 2007-11-27 11:07:39
What's the advantage to using
int BOOST_LOCAL_FUNCTION(char c)
{
std::cout << c << '\n';
return 1;
} BOOST_LOCAL_FUNCTION_DECL(a)
over:
struct
{
int operator()(char c)const
{
std::cout << c << '\n';
return 1;
}
} a;
?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk