C ++ call stack not standard?

Does the C ++ standard talk about the call stack? It is well known how the stack and heap are used in C ++, but I read this standard and did not mention it.

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1905.pdf

Is this something that remains before the compiler is implemented, but everyone agrees, or did I miss something while viewing the document?

+2
source share
2 answers

It is not mentioned in the standard. Neither a stack nor a bunch. The standard describes the syntax and semantics (behavior) of C ++ programs. Implementations must implement it at their discretion.

However, when you see how function calls should behave, there is no choice. There must be some kind of stack to store local variables!

+5
source

. ... .

+2

All Articles