commit | 607044595c7521189d89c0247f6b8c1d0b723b53 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Thu Apr 11 14:18:29 2019 +0200 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Thu Apr 11 14:20:56 2019 +0200 |
tree | 690fc815444301be9c7ee9c628244a8224df266e | |
parent | c58e4aaeb87c205b52e6fe494b23ca92c6f158b2 [diff] |
Utility function for RAII-like init/cleanup handling This is a poor man's copy of the P0052's make_unique_resource reimplementation which was taken from the (internal, for now) cla-sysrepo project. Change-Id: If639872cc3c9f0779da57a821dd7eb81203a0b9c
Copyright © Faculty of Information Technology, Czech Technical University in Prague, https://fit.cvut.cz/ . Copyright © CESNET, https://www.cesnet.cz/ . Most of the code was written by Václav Kubernát (FIT ČVUT) and Jan Kundrát (CESNET). The project is distributed under the terms of the Apache 2.0 license.