MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / ignoreInapplicableValueExceptions

Function ignoreInapplicableValueExceptions

src/fileutils.cc:18–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16#include <fstream>
17
18static void ignoreInapplicableValueExceptions(std::function<void(void)> cb)
19{
20 try
21 {
22 cb();
23 }
24 catch (const InapplicableValueException* e)
25 {
26 /* swallow */
27 }
28}
29
30FlagGroup fileFlags;
31

Callers 1

fileutils.ccFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected