class Foo
{
void Stuff()
{
// do stuff
}
}
namespace Test
{
class Bar : Foo
{
void Stuff() override
{
Foo::Stuff(); // ERR: Namespace 'Foo' doesn't exist.
::Foo::Stuff(); // ERR: Namespace '::Foo' doesn't exist.
}
}
}
Unable to call base function on class outside of namespace
It doesn't seem to be possible to call the base function on a class outside of a namespace. For example:
I'll look into this. Thanks for the bug report.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
I've fixed this bug in revision 2296.
Regards,
Andreas
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement