Play a montage when a previous montage finishes, in C++

Thanks for the answer and posting the code. But as I replied to another replies. Carefully using a timer may eliminate the t-pose. But it not a solution if I have too many animations that have various blend time settings. It also defeats data-driven methodology.