I regularly use \phantom to visually align things in my documents, and often have to manually fill in the spaces that are cut off by removing the atoms (which I don't fully understand) between the objects before and after the \phantom---normally this works by adding {}'s inside the \phantom argument, but not always.
With the help of https://tex.stackexchange.com/a/95923/42225, I've cobbled together the following, but I feel that there should be a more elegant solution that doesn't require the preceding and following objects as arguments (which I've made optional).
\documentclass{article}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{xparse}
\makeatletter
\NewDocumentCommand{\archphantom}{O{{}} m O{{}}}{%
\setbox0\hbox{$#1#2#3$}%
\setbox1\hbox{$#1{#2}#3$}%
\dimen@\dimexpr\wd0-\wd1%
#1\phantom{#2}\kern\dimen@#3%
}
\makeatother
\begin{document}
\begin{align*}
x & = \fbox{\hspace{5cm}\vphantom{b}}+\ldots\\
&\archphantom{=}[\ldots] + \fbox{\hspace{5cm}\vphantom{b}} && \text{works}\\
&\phantom{=}\,\:\ldots + \fbox{\hspace{5cm}\vphantom{b}} && \text{trial $\&$ error}\\
&\phantom{{}={}}\ldots + \fbox{\hspace{5cm}\vphantom{b}} && \text{doesn't work}
\end{align*}
\end{document}
For this case in particular (=+\ldots), I wasn't able to simulate the correct spacing by e.g. \phantom{{}={}}\ldots, which motivated me to finally ask this question. ;-)
As a side remark, I'm concurrently looking for good name suggestions for the resulting command (or feedback to my choice). I've first thought about \phantombridge, since I need to take into account the objects before and after---metaphorically the two visible abutments of an invisible bridge. Now, however, since an arch is basically the same concept, I prefer \archphantom, which also has the added connotation of "a \phantom of higher rank" (compare angel vs. archangel).
%after\wd1(or\wd2) – David Carlisle Mar 27 '14 at 11:23\phantomand its surrounding material was discussed in the several answers (and their comments) at http://tex.stackexchange.com/questions/166327/position-of-the-slash-in-hatted-slashed/ – Steven B. Segletes Mar 27 '14 at 11:30