Why cant I place a stuct on a funciton stack without blitting it

Ali Çehreli acehreli at yahoo.com
Sat Apr 5 09:09:02 PDT 2014


On 04/05/2014 08:48 AM, Byron wrote:

 > Tans trans(...);  would not work

It works in C++. The following is one way of constructing in D:

       Tans trans = Tans(42);

Ali



More information about the Digitalmars-d-learn mailing list