For $X$ a closed subset of $\mathbb{R}$, let $C(X)$ denote the family of all continuous functions $f:X\to\mathbb{R}$ equipped with the topology of uniform convergence. Let $\mathcal{F}$ be the family of all sets $F\subseteq C(\mathbb{R})$ such that for any closed set $X\subseteq\mathbb{R}$, $\{f\upharpoonright X\colon f\in F\}$ is a closed subset of $C(X)$.
Question: Is $\mathcal{F}$ the family of all closed sets in some topology on the set $C(\mathbb{R})$?
My guess is that $\mathcal{F}$ is not closed under intersections, but I could not find an example.
Edit: It is rather straightforward that $\emptyset,C(\mathbb{R})\in\mathcal{F}$. Since $\big(\bigcup\mathcal{F}'\big)\upharpoonright X= \bigcup\{F\upharpoonright X\colon F\in\mathcal{F}'\}$ for any $\mathcal{F}'\subseteq\mathcal{F}$, and a finite union of closed sets is closed, one obtains that $\mathcal{F}$ is closed under finite unions. However, $(F\cap G)\upharpoonright X$ can be a proper subset of $(F\upharpoonright X)\cap(G\upharpoonright X)$, so it is not clear whether it has to be closed if $F\upharpoonright X$ and $G\upharpoonright X$ are. Here we denote $F\upharpoonright X=\{f\upharpoonright X\colon f\in F\}$.