title: Does constexpr imply inline?
body: <p>Consider the following inlined function :</p>
  
  <pre><code>// Inline specifier version
  #include&lt;iostream&gt;
  #include&lt;cstdlib&gt;
  
  inline int f(const int x);
  
  inline int f(const int x)
  {
      return 2*x;
  }
  
  int main(int argc, char* argv[])
  {
      return f(std::atoi(argv[1]));
  }
  </code></pre>
  
  <p>and the constexpr equivalent version :</p>
  
  <pre><code>// Constexpr specifier version
  #include&lt;iostream&gt;
  #include&lt;cstdlib&gt;
  
  constexpr int f(const int x);
  
  constexpr int f(const int x)
  {
      return 2*x;
  }
  
  int main(int argc, char* argv[])
  {
      return f(std::atoi(argv[1]));
  }
  </code></pre>
  
  <p>My question is : does the <code>constexpr</code> specifier imply the <code>inline</code> specifier in the sense that if a non-constant argument is passed to a <code>constexpr</code> function, the compiler will try to <code>inline</code> the function as if the <code>inline</code> specifier was put in its declaration ?</p>
  
  <p>Does the C++11 standard guarantee that ?</p>