MCPcopy Create free account
hub / github.com/boostorg/leaf / unload

Method unload

include/boost/leaf/context.hpp:198–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196 }
197
198 BOOST_LEAF_CONSTEXPR static void unload( Tup & tup, int err_id ) noexcept(!BOOST_LEAF_CFG_CAPTURE)
199 {
200 static_assert(!std::is_same<error_info, typename std::decay<decltype(std::get<I-1>(tup))>::type>::value, "Bug in LEAF: context type deduction");
201 BOOST_LEAF_ASSERT(err_id != 0);
202 auto & sl = std::get<I-1>(tup);
203 sl.unload(err_id);
204 tuple_for_each<I-1,Tup>::unload(tup, err_id);
205 }
206
207 template <class Encoder>
208 static void serialize_to(Encoder & e, void const * tup, error_id id)

Callers

nothing calls this directly

Calls 1

unloadFunction · 0.70

Tested by

no test coverage detected