Question d’entretien chez Fusion Systems

How would you write a lambda for this std::transform call that would double each element?