Invisible <voi### [at] dev null> wrote:
> When I looked at my function, I found I'd written "it->second;" rather
> than "return it->second;". Not only is this apparently legal, it doesn't
> even generate a compile-time /warning/.
What compiler would that be?
int test()
{
}
test.cc:3:13: warning: no return statement in function returning non-void
--
- Warp
Post a reply to this message
|