miker2 / flexi_config_reader

A flexible configuration format that supports templated tables and referencing of existing keys.
MIT License
3 stars 1 forks source link

Use `config::types::ConfigBase::type` for type checking #14

Closed miker2 closed 2 years ago

miker2 commented 2 years ago

Instead of using dynamic_pointer_cast to do type checking in a number of places, we can use config::types::ConfigBase::type, which will be more efficient. In some cases, we must dynamic cast, but not all.

All instances are currently in config_actions.h.