title: What do the statements "#pragma managed(push, off)" and "#pragma managed(pop)" mean?
body: <p>I am looking at some C++/CLI code and have seen a lot of such statements mostly around <code>#include</code>s. What do they mean? I know that they, according to MSDN, <code>Enable function-level control for compiling functions as managed or unmanaged.</code> But I am interested in their inner mechanics especially the <code>push</code> and <code>pop</code> semantics. If someone could explain how either one of the two statements works, I will figure out the other one myself.</p>