Bond
 
All Classes Namespaces Files Functions Variables Typedefs Friends Pages
Loading...
Searching...
No Matches
bond::detail::RecursionGuard Class Reference

Tracks recursive depth, incrementing a thread_local on construction and decrementing it on destruction, throwing if depth exceeds max depth. More...

Static Public Member Functions

static void SetMaxDepth (uint32_t value)
 Sets the maximum recursion depth permitted.
 

Detailed Description

Tracks recursive depth, incrementing a thread_local on construction and decrementing it on destruction, throwing if depth exceeds max depth.

Member Function Documentation

◆ SetMaxDepth()

static void bond::detail::RecursionGuard::SetMaxDepth ( uint32_t value)
static

Sets the maximum recursion depth permitted.