title: Switch off Memory Leak Detection in boost.Test
body: <p>I'm currently using boost.Test and I'm wondering if it might be possible to switch off the Memory Leak Detection, if one compiles in DEBUG Mode. </p>
  
  <p>I don't want to use the command line parameter switch <code>--detect_memory_leak=0</code>.  I'm looking for a kind of <code>#define</code> parameter, that switches off the memory leak detection feature in DEBUG mode. </p>
  
  <p>It would be also suitable for me to switch off the memory detection feature by defining a certain compiler switch. I'm currently using Microsoft Visual Studio 2010.</p>
  
  <pre><code>#define BOOST_TEST_DETECT_MEMORY_LEAK 0 // Preprocesser switch I'm looking for!
  #define BOOST_TEST_MODULE MyUnitTest
  #include &lt;boost/test/included/unit_test.hpp&gt;
  
  BOOST_AUTO_TEST_SUITE(MySuite);
  
      BOOST_AUTO_TEST_CASE(MyUnitTest) {
         /// Following code has a memory leak
         /// ....
      }
  
  BOOST_AUTO_TEST_SUITE_END()
  </code></pre>