The Apple support website states:
You can use 4K displays and Ultra HD TVs with these Mac computers: MacBook Pro (Retina, Late 2013) and later
However there is no mention about the type of MacBook Pro Retina, I mean between the 13" which has the Intel Iris Graphics and the 15" which has the Intel Iris Pro Graphics.
If it's not possible to connect both monitors in full resolution at the same time, is it possible at least to just connect a 4k like the Dell P2715Q in full resolution?