$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Alan M. Carroll (amc_at_[hidden])
Date: 2008-08-07 11:34:06
Shouldn't that _2 be _1? Otherwise, isn't the third argument to the outer bind a binary functor? If so, could that syntax error be the cause of the crash?
At 03:59 AM 8/7/2008, you wrote:
>Hello,
>the following code makes the VC++ compiler (VS 2005) crash,
>but only when I am trying a release build ! The debug builds work fine.
>
>std::sort(l_vec.begin(),l_vec.end(),boost::bind(std::less<int>(),boost::bind(&CLayer::GetPrio,_1),boost::bind(&CLayer::GetPrio,_2)));