boost make_shared takes in a const reference. Any way to get around this?

http://www.boost.org/doc/libs/1_39_0/libs/smart_ptr/make_shared.html says: “If you need to pass a non-const reference to a constructor of T, you may do so by wrapping the parameter in a call to boost::ref.” Other text on that page seems to support RĂ¼diger Hanke’s answer.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)