Boost logo

Boost Users :

Subject: [Boost-users] Boost.Function - boost::function2 - too few template arguments
From: Roma (shmromacs_at_[hidden])
Date: 2008-09-21 12:16:57


Hi! Trying to use Boost.Function - boost::function2
such a way:

#include <boost/function.hpp>

typedef unsigned int mnUserId_c;
typedef boost::function2<int, mnUserId_c*> myfunctype;

.. end get error "boost::function2 - too few template arguments"
XPSP2, Visual Studio 2008.

Any ideas?


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