still i can't understand how to use it without any public constructor. You can only use the static members. what's the purpose with such kind of classes?

loafer (loafer)

2001-7-16 -04:00

回到话题: Can I write constructer as private in c++, if I can who can access it ? (This my interview question, continue)

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论