Using Trex products means the deck will likely outlast the pool.
Be aware Trex type products can get really hot! My house deck is Trex (dark brown) and it'll take your breath away.....You could always put one of those indoor-outdoor rugs down on it.