This reference describes unreleased code on main; no release documents it yet.

rlmesh::set_warning_handler

functionExperimental#include <rlmesh.hpp>[source]

Install the process-wide warning handler; an empty handler restores the default (stderr, each distinct warning once). A handler that throws fails the call that warned, with the exception's what() as an RLMeshException.

inline void set_warning_handler(
    std::function<void(const Warning&)> handler
)