Boost logo

Boost Users :

Subject: Re: [Boost-users] [bind] & [function] How do I store member functions with generalised arguments for later invocation?
From: Larry Evans (cppljevans_at_[hidden])
Date: 2010-06-08 16:59:10


On 06/05/10 15:20, Larry Evans wrote:
[snip]
> variadic templates; however, I'm getting several minor errors.
> The 1st attachment is the code, the 2nd is the errors.
>
The 1st attachment is the corrected version. The 2nd is the
Jamfile in the same directory as the source file, the 3ird is the
bjam output showing it links OK. I also had to include the
variadic template library headers, that was done by the Jamfile
in the 4th attachment which was located in the variadic_templates
directory.

Is there some reason why you wouldn't want to use the variadic
template compiler?

HTH.

-Larry


project boost/composite_storage/thread
    : requirements <library>../../../../../trunk/libs/thread/build//boost_thread <threading>multi
    ;

exe bind_function : bind_function.cpp ;


-*- mode: compilation; default-directory: "~/prog_dev/boost-svn/ro/sandbox/variadic_templates/libs/composite_storage/sandbox/" -*-
Compilation started at Tue Jun 8 15:50:25

bjam
sh: icpc: not found
...patience...
...found 1184 targets...
...updating 2 targets...
gcc.compile.c++ ../../../../../../../../bin.v2/prog_dev/boost-svn/ro/sandbox/variadic_templates/libs/composite_storage/sandbox/gcc-4.4_20090630/debug/threading-multi/bind_function.o
gcc.link ../../../../../../../../bin.v2/prog_dev/boost-svn/ro/sandbox/variadic_templates/libs/composite_storage/sandbox/gcc-4.4_20090630/debug/threading-multi/bind_function
...updated 2 targets...

Compilation finished at Tue Jun 8 15:50:35

project boost
    : requirements
      <include>.
    : usage-requirements
      <include>.
    ;



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net