aliasing private

NotYouAgain NotYouAgain at gmail.com
Wed May 1 12:07:26 UTC 2024


I want to do a C like #define on private, but I can't

ie. #define private fileprivate

// ---
module m;

alias fileprivate = private; // grr!

class myClass
{
    fileprivate int n;
}

// ---


More information about the Digitalmars-d-learn mailing list