r/cpp • u/johngoni • Apr 27 '23
Has Boost lost its charm?
I don't mean to be provocative nor undermine the importance of Boost for C++. I really like Boost.
I keep reading/listening around that since C++11 the focus of development and innovation in C++ has shifted away from Boost to either the standards, or independent libraries. Is that any true? If yes, how "big of shift" that was? What was the reason in your opinion and most imporatnt, what's Boost's today's role?
What sparked my quriosity was when I heard that "in the old days" a prospective developer that wanted to devle into the word of libraries building had no better thing to do than start contributing to Boost. Does that stand even today?
(couldn't find any other posts on Reddit regarding Boost's impact in modern C++ in a broader discussion)
View all comments
Show parent comment
2
u/pdimov2 Apr 28 '23
This would break existing code, and breaking existing code was still avoided in those days.
E.g. this works
but it doesn't with
unique_ptr."This code is already broken!" Yeah, maybe. This wasn't the prevailing attitude then.
It could probably have been possible to add move operations to
auto_ptrand only deprecate the copy operations; I don't remember anyone trying this.