|
Boost : |
From: Jason Hise (chaos_at_[hidden])
Date: 2005-03-24 21:55:10
Jason Hise wrote:
> class test : public singleton < test >
> {
> // no constructors or destructor provided
> // all of the defaults are generated
> };
>
> int main ( )
> {
> client c; // should still be illegal, and fail to compile
> return 0;
> }
small correction, where it says 'client' it should read 'test':
int main ( )
{
*/test/* c; // should still be illegal, and fail to compile
return 0;
}
-Jason
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk