title: Why can't C++ be parsed with a LR(1) parser?
body: <p>I was reading about parsers and parser generators and found this statement in wikipedia's LR parsing -page:</p>
  
  <blockquote>
    <p>Many programming languages can be parsed using some variation of an LR parser. One notable exception is C++.</p>
  </blockquote>
  
  <p>Why is it so? What particular property of C++ causes it to be impossible to parse with LR parsers?</p>
  
  <p>Using google, I only found that C can be perfectly parsed with LR(1) but C++ requires LR(∞). </p>