Problem with boost::bind usage

Is there a technical limitation preventing this from working?
int __stdcall VirtualUnlock(void*, size_t);
void f()
{
std::list

AMDG Zachary Turner wrote:
Is there a technical limitation preventing this from working?
int __stdcall VirtualUnlock(void*, size_t);
void f() { std::list
locked_buffers; size_t size; std::for_each(locked_buffers.begin(), locked_buffers.end(), boost::bind(VirtualUnlock, boost::lambda::_1, size)); }
http://www.boost.org/libs/bind/bind.html#stdcall In Christ, Steven Watanabe
participants (2)
-
Steven Watanabe
-
Zachary Turner