title: Does Visual C++ provide a language construct with the same functionality as `__attribute__((alias))` in GCC?
body: <p><a href="https://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Function-Attributes.html" rel="nofollow noreferrer"><code>__attribute__((alias))</code> means:</a></p>
  
  <blockquote>
    <p>alias ("target")</p>
    
    <p>The alias attribute causes the declaration to be emitted as an alias for another symbol, which must be specified. For instance,</p>
  
  <pre><code>  void __f () { /* Do something. */; }
    void f () __attribute__ ((weak, alias ("__f")));
  </code></pre>
    
    <p>defines <code>f</code> to be a weak alias for <code>__f</code>. In C++, the mangled name for the target must be used. It is an error if <code>__f</code> is not defined in the same translation unit.</p>
    
    <p>Not all target machines support this attribute. </p>
  </blockquote>