Menu

#46 std::shared_ptr / weak_ptr insted of boost

open
None
1
2017-11-24
2017-11-24
Marco Nef
No

I'm using your great library, thank you a lot for providing it. But unfortunately it has one very big flaw: The interface requires the use and availability of boost for compilation. As far as I could see only shared and weak pointers are used from boost. As they exist in the std namespace that dependency should be removed.

I can see that this might be a breaking change. Maybe it can help solving it by a preprocessor macro?

What's the real problem? I integrated boost via nuget and that library uses about 5.25 GB (!) of disk space. That's a lot more than the rest of our huge code base. And that is just for some stuff that is available in the std.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB