Is there a variant of mathtools's \DeclarePairedDelimiter that works for unpaired delimiters? EDIT: To be clear, I'm looking for a command that can be called as \command{delimited}, \command*{delimited}, or \command[\big]{delimited}, with the syntax of DeclarePairedDelimiter.
\usepackage{article}
\usepackage{mathtools}
\newcommand\tall{\rule{0pt}{10ex}}
\DeclarePairedDelimiter\withblank{}\rvert
\DeclarePairedDelimiter\withdot.\rvert
\DeclarePairedDelimiter\withrelax\relax\rvert
\begin{document}
\(\withdot*\tall\) produces the same result as \(\left.\tall\right\rvert\), but \(\withdot{}\) does not produce the same result as \({}\rvert\).
\(\withblank{}\) and \(\withrelax{}\) produce the same result as \({}\rvert\), and \(\withblank*\tall\) and \(\withrelax*\tall\) both give errors (but eventually produce the same result as \(\left.\tall\right\rvert\)).
\end{document}
EDIT: To be clear, as @Werner points out below, the behaviour of \withdot{} is not literally a bug; it's just not what I want.

\withdot{}should be similar to.{}\rvert, not{}\rvert, so the expected output is correct. – Werner Oct 26 '16 at 23:42.in\DeclarePairedDelimiter. It's a misfeature of the command. – egreg Oct 26 '16 at 23:43