ClickHouse/src/Common/checkStackSize.h
2020-04-03 18:14:31 +03:00

8 lines
242 B
C++

#pragma once
/** If the stack is large enough and is near its size, throw an exception.
* You can call this function in "heavy" functions that may be called recursively
* to prevent possible stack overflows.
*/
void checkStackSize();