$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Server Levent Yilmaz (leventyilmaz_at_[hidden])
Date: 2007-02-01 11:13:15
On 2/1/07, Server Levent Yilmaz <leventyilmaz_at_[hidden]> wrote:
>
>
>
> Note that this expression will not call anything, it will generate a
> functor and drop it. I guess what you are trying to do is this
>
> bind( func<void()>, print) (); // note the function call operator at the
> end.
A more conforming statement would be this:
bind( func<void(*)()>, print) ();
although first one does work with some compilers (MSVC to be specific,
grrr).
- levent
-- Server Levent Yilmaz Mechanical Engineering @ PITT