Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Add this at the start of stdafx.h or define it as a pre-processor macro for your debug build:</p> <pre><code>#define _SECURE_SCL 0 </code></pre> <p>It will cause the following to happen, making your code run faster in debug mode:</p> <p>All standard iterators are unchecked (iterators can move beyond the container boundaries, leading to undefined behavior). The unchecked form of a function will be used, for standard functions with checked forms (see list below).</p> <blockquote> <p>If an output iterator is a checked iterator:</p> <ul> <li>You will get checked behavior on calls to the standard function (std::copy, for example).</li> <li>You will get checked behavior on calls to a checked function (stdext::checked_copy, for example).</li> <li>You will get checked behavior on calls to an unchecked function (stdext::unchecked_copy, for example).</li> </ul> <p>If an output iterator is an unchecked iterator:</p> <ul> <li>You will get unchecked behavior on calls to the standard function (std::copy, for example). </li> <li>Calls to a checked function (stdext::checked_copy, for example) will result in compiler warnings.</li> <li>You will get unchecked behavior on calls to an unchecked function (stdext::unchecked_copy, for example).</li> </ul> </blockquote> <p>You can read more about this behavior in the <a href="http://msdn.microsoft.com/en-us/library/aa985965.aspx" rel="nofollow">Checked Iterators</a> section of MSDN. Normally, you want checked iterators to be turned on for Debug builds, but there are certain applications that perform a lof of operations in a short period of time where they can become a nuisance.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload