FR: Add ScopeExit #30

Closed
krlmlr opened this Issue Nov 12, 2016 · 4 comments

Projects

None yet

2 participants

@krlmlr
krlmlr commented Nov 12, 2016

I'm missing on.exit() in C++ ;-)

Header-only, available in 1.60.0: http://www.boost.org/doc/libs/1_60_0/libs/scope_exit/doc/html/index.html

@eddelbuettel
Owner

Timely. Was hoping to get to BH 1.62 this weekend. Will look into this.

@eddelbuettel
Owner

Fixed in 1.62.0-1 which is now master and which should be in CRAN "within days".

@krlmlr
krlmlr commented Nov 13, 2016

Thanks a lot!

@eddelbuettel
Owner

That one was 'cheap' -- the Boost library appears to consist of ... a single file scoped_exit.hpp.

But the way we do this via bcp it is pretty easy either way. BH is turning a sumo packages. Almost 10mb for tar.gz ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment