I tried to specify just the constructor as the last argument of transform but it did not work since in C++ you can not take address of a constructor, but also signature would no