In the absence of instantiation limits, whether a C++ compiler
will halt when compiling a given program is undecidable.
(Todd L. Veldhuizen)

Step 1:

Step 2:

Step 3:

Step 4: