Re: [boost] singleton design plan

28 Jul
2005
28 Jul
'05
10:57 p.m.
----- Mensaje original ----- De: Jason Hise <chaos@ezequal.com> Fecha: Jueves, Julio 28, 2005 11:25 pm Asunto: Re: [boost] singleton design plan
Michael Goldshteyn wrote:
What is:
namespace boost { const class {
???
It worked with VC, but I just checked it with comeau and it failed to compile. To fix it, I had to provide a name for the class and an explicit default constructor. Naming the class null works, because then the class name is hidden by the global variable name and thus other instances of type null cannot be declared.
You can still gain access to the class type by typing "class null": class null other_null; Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
7257
Age (days ago)
7257
Last active (days ago)
0 comments
1 participants
participants (1)
-
JOAQUIN LOPEZ MU?Z