Update the enforcer_synced class in the casbin-cpp library to match the go version of the Casbin.
The main content is to compare the enforcer_synced class in Go language with the cpp version,
and add functions that are in the enforcer class of casbin-cpp but have not yet been added to the enforcer_synced class.
Fix: https://github.com/casbin/casbin-cpp/issues/244
Fixes # https://github.com/casbin/casbin-cpp/issues/244
Description
Update the enforcer_synced class in the casbin-cpp library to match the go version of the Casbin. The main content is to compare the enforcer_synced class in Go language with the cpp version, and add functions that are in the enforcer class of casbin-cpp but have not yet been added to the enforcer_synced class.