Dit you figure out how to do this?
i see the following in the constructor of verctor
static_assert(std::is_convertible::value, "Invalid Type for cocos2d::Vector!");
Ref = cocos2d::Ref.
Since, as far as i See, but correct me if i'm wrong, the vector class does not inherit from cocos2d::Ref this assertion will always fail..
Or is there any other solution for handling 2d vectors?