On 27 Feb 2004 08:03:43 -0800, maths_fan@mail. ru (maths_fan) wrote:
[color=blue]
>If I have a constructor, can I use return without a value (as void) in it?
>
>class A
>{
>public:
> A() { return; }
>};
>
>???[/color]
Sure. Don't think of it "as returning void", though; just think of it as
terminating execution of the function.
Comment