I read somewhere that when $\pu{100 mmol}\ \ce{NaHCO3}$ are mixed with $\pu{50 mmol}\ \ce{HCl}$, a buffer arises. I'm confused, since $\ce{HCl}$ is a strong acid, and I thought the classic buffer is weak acid, weak conjugate base in equal amounts.
Is it the fact that the strong acid is added in only half the amount as the weak base that creates the buffer?
Or is it that the $\pu{50 mmol}\ \ce{HCl}$ will turn half of the $\pu{100 mmol}\ \ce{NaHCO3}$ into $\pu{50 mmol}\ \ce{H2CO3}$ which then with the remaining $\pu{50 mmol}\ \ce{NaHCO3}$ comprises a classic buffer?