Skip to content

Update boost to std #589

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jan 30, 2016
Merged

Conversation

glynos
Copy link
Member

@glynos glynos commented Jan 30, 2016

@deanberris

I took the leap ... as far as I possibly could I replaced boost classes/functions with their C++11/14 equivalents.

There's still a lot to do. I did not touch the code that depends on MPL/type traits because I think this should be eventually replaced (all the message stuff).

The thread pool still uses boost::thread_group, but I think it would be trivial to implement it ourselves (therefore we won't need to link to boost thread at all). As for the other boost static libraries, they are really only needed for some dependencies and for the examples.

Also, I did not touch the cpp-netlib MIME code (I don't know what to do with it, though I suspect it would continue to work if we used C++11/14 here).

Eventually I want to be able to build cpp-netlib without an external dependency to boost or asio. We can later use the boost-free asio, and for the rest a shrink-wrapped (header-only) boost.

Let's talk on slack if you want more info.

@deanberris
Copy link
Member

Wow, and Travis is green! Thanks @glynos -- I'll have a look soon!

@deanberris
Copy link
Member

I see you've removed the Twitter example -- did we need to update anything from the docs for that? Just wondering, I don't think we need to make the change now.

@deanberris
Copy link
Member

LGTM -- skimmed it, and I'm happy that Travis is green.

Thanks again @glynos!

deanberris added a commit that referenced this pull request Jan 30, 2016
@deanberris deanberris merged commit 6bff172 into cpp-netlib:master Jan 30, 2016
@glynos
Copy link
Member Author

glynos commented Jan 30, 2016

I didn't update any documentation. We should go through that anyway, because I think it is out-od-date in a lot of ways.

twiitter_search has been a bit of an embarrassment because it just crashed, that's why I removed it completely. We need better examples.

@glynos glynos deleted the update_boost_to_std branch February 9, 2016 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants