template definition for var_t + dropping private specifiers