eddelbuettel / bh

R package providing Boost Header files
85 stars 32 forks source link

FR: Add ScopeExit #30

Closed krlmlr closed 8 years ago

krlmlr commented 8 years ago

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 commented 8 years ago

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

eddelbuettel commented 8 years ago

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

krlmlr commented 8 years ago

Thanks a lot!

eddelbuettel commented 8 years ago

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 ...