folly::unsafe_unscoped_init

Initializes folly without an RAII scope guard.

Synopsis

Declared in <folly/init/Init.h>

void
unsafe_unscoped_init(
    int* argc,
    char*** argv,
    bool removeFlags = true);

Parameters

NameDescription
argcPointer to the argument count passed to main.
argvPointer to the argument vector passed to main.
removeFlagsIf true, updates argc/argv to remove recognized gflags.