Can I ‘friend’ ‘main,’ so as to grant the body of ‘main’ access to the private constructors of a “Pass key”?
I would like to define a pass-key class (/implement the pass-key idiom) that grants the code written in the body of ‘int main’ the ability to construct the pass-key.