JSON Voorhees
Killer JSON for C++
scope_exit.hpp File Reference

Definition of the on_scope_exit utility. More...

#include <jsonv/config.hpp>
#include <utility>

Go to the source code of this file.

Classes

class  jsonv::detail::scope_exit_invoker< Function >
 

Functions

template<typename Function >
scope_exit_invoker< Function > jsonv::detail::on_scope_exit (Function func)
 

Detailed Description

Definition of the on_scope_exit utility.

Copyright (c) 2015 by Travis Gockel. All rights reserved.

This program is free software: you can redistribute it and/or modify it under the terms of the Apache License as published by the Apache Software Foundation, either version 2 of the License, or (at your option) any later version.

Author
Travis Gockel (travi.nosp@m.s@go.nosp@m.ckelh.nosp@m.ut.c.nosp@m.om)

Definition in file scope_exit.hpp.