I am getting difficult time understand why there is a keyworad "static" in header only (I understand what that code does and how to use it in API
//Header
class A 
{
    static A * create();
    bool init();
};
A* A::create()
{
    A * ob = new (std::nothrow) A();
    if(A && a->init()){
        A->autorealease();
        return A;
    }
    SAFE_DELETE(A);
    return nullptr;
}
Used like this A* testobj = A::create(); (Which will go out of scope if it's not saved in some (vector) array, thus it will be cleaned by the engine).
Thank you.
 
    