Let $\mathcal{S}$ be a Schwartz space and $\delta_{a}$ the following distribution: $$\delta_{a}: \phi \rightarrow \phi(a) \ \ \ \ \text{ for each } \phi\in\mathcal{S}$$
Now, we routinely see something like: $$\int_{-\infty}^{\infty} f(x)\delta_a dx = f(a)$$
where $f$ is not necessarily $\in \mathcal{S}$ (e.g. $f \in L^2$). I'm having a hard time interpreting this integral using the language of distributions.
For example, if $f$ was in $\mathcal{S}$, I could say the integral is just giving me the value of the functional $\delta_a$ at a point in $\mathcal{S}$. But what about when $f\notin \mathcal{S}$?