Boost.Test check whether a pointer is null
<p>I have the following test : </p>

<pre><code>BOOST_CHECK_NE(pointer, nullptr);
</code></pre>

<p>The compilation fails due to </p>

<blockquote>
  <p>/xxx/include/boost/test/tools/detail/print_helper.hpp:50:14: error: ambiguous overload for ‘operator&lt;&lt;’ (operand types are ‘std::ostream {aka std::basic_ostream}’ and ‘std::nullptr_t’)</p>
</blockquote>

<p>What is wrong and how should I test for null pointers ?</p>