I am using bind heavily in my application.  I noticed a problem that may/may not be a boost issue but wanted to check if anyone had any quick insights.
 
I am using 2 and 3 paramater functions with bind over a range with the for_each operator.  What I have noticed is everything is fine when the system is build in debug mode.  I then rebuild in release modes with all optimizations turned on.  The boost code crashes with access violations.  I disabled the optimization of Whole Program Optimization and everything is fine.  I believe I have noticed this with other template functions where the whole program optimization causes problems.  Has anyone seen this before and do you know what causes it?
 
Just checking if this is a known boost problem or a VC 7.1 issues.
 
Mark Loew, MCSD, MCSE
Application Development Consultant
Sagestone Consulting
www.sagestone.com
Grand Rapids, MI
616-954-9556 x149
Microsoft Gold Certified Partner
mloew@sagestone.com