vtable issue-
undefined reference to 'vtable' for writeArrayPolicy