cms-sw/cmssw — pull request #6353 by davidlt (2014-11-12 10:54:14+00:00)
Title: Replace boost::{bind,cref,ref} with std:: version; C++11 compliant

Boost 1.53.0 modified their `cref/ref` to match C++11 standard. Remove
dependency on boost and use standard library features. According to C++
standard you are not allowed to use `cref/ref` with rvalues. In this
particular case you are not allowed to pass `e.streamID()` as a
reference. I think, `std::reference_wrapper` is not allowed to hold a
reference to a temporary, otherwise it would be undefined behavior.

Details: http://wg21.cmeerw.net/lwg/issue688

Signed-off-by: David Abdurachmanov