title: Resolving ambiguity in declaration of size_t
body: <p>I recently started using ReSharper and am now trying to solve all the warnings. One warning I get is with the declaration of a const size_t in my stdafx.h header file, it is an ambiguous symbol. See below my header declaration file with the problem:</p>
  
  <pre><code>#pragma once
  
  const size_t X = 0;     //No Ambiguity, size_t declared in vcruntime.h
  #include &lt;string&gt;
  const size_t Y = 0;     //Ambiguity, size_t declared in vcruntime.h and xlocinfo.h
  </code></pre>
  
  <p>Despite this ambiguity the code compiles and runs fine in my VS-Studio on Windows 10. Later I need to port the code to Linux.</p>
  
  <p><strong>How can I resolve this ambiguity.</strong></p>
  
  <p>Note that I of course need to use the string header. Also I could just simply declare these constants before any inclusions, but that does not seem a nice solution to me. By the way I have this same ambiguity throughout my project. </p>