$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Joseph Gauterin (joseph.gauterin_at_[hidden])
Date: 2007-11-27 12:35:14
> I disagree. It's not easy to recognise return type and arguments in your code.
What about this then:
struct local
{
static int a(char c)
{
std::cout << c << '\n';
return 1;
}
static int zz(char c)
{
std::cout << c << c << '\n';
return 2;
}
};
local::a('a')
local::zz('Z')
std::string str = "foo";
std::for_each(str.begin(),str.end(),&local::a);