Skip to content
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

FR: Add ScopeExit #30

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

FR: Add ScopeExit #30

krlmlr opened this issue Nov 12, 2016 · 4 comments

Comments

@krlmlr
Copy link

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
Copy link
Owner

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

@eddelbuettel
Copy link
Owner

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

@krlmlr
Copy link
Author

krlmlr commented Nov 13, 2016

Thanks a lot!

@eddelbuettel
Copy link
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 ...

krlmlr referenced this issue in r-spatial/sf Apr 20, 2018
* should remove warnings if StartTransaction fails
* might work if StartTransaction succeeds, but writing features fails
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

No branches or pull requests

2 participants