class A {
int m_i;
A( int i ) {
m_i = i;
}
}
Feature Request: No default ctor if another ctor is provided
I was just noticing, that if you define a script class with a non-default constructor, a default constructor is still provided for you, meaning with a class like:
Class A will still have 2 constructors, 1 default (auto-generated) and the declared one.
It would be nice, as in C++, if a non-default constructor is provided, then the default constructor is not auto-generated.
I'll see what I can do.
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