
running the code below triggers a runtime crash due to casting to a smaller type in feed_args.hpp if -RTCc is given. we turn on this runtime check for debug builds as shown in the sample code. so far the only remedy I've found is to turn off runtime checks for the entire module, not a nice solution. microsoft's suggestion, to use a pragma to turn off the check, doesn't work (not your problem I know).
the same issue exists in boost 1.47.0.
thx
dxc
// ----- cut ----
// boost 1.48.0
// visual studio 10.0, service pack 1, windows 7/64
// using this pragma, per microsoft, does not solve the problem
// #pragma runtime_checks( "", off )
#include <string>
#include