$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-08-26 11:48:19
From: "Edward Diener" <eddielee_at_[hidden]>
>
> Perhaps this is off-topic for Boost ( and belongs in comp.lang.c++ ) but
> what is the syntax for using a "function type" to declare or define a
> function ?
typedef int F(int x);
F f; // equivalent to int f(int x);
int main()
{
f(4);
}
You can declare a member function that way, too.