|
Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
|
Helper class for automatic backend registration. More...
#include <backend_registry.h>

Public Member Functions | |
| backend_registrar (const std::string &name) | |
| Constructor that registers the backend. | |
Helper class for automatic backend registration.
This class uses static initialization to automatically register backends at program startup. Each backend implementation should create a static instance of this class.
Example Usage in backend implementation:
This pattern ensures that all compiled-in backends are automatically registered without explicit initialization code.
Definition at line 202 of file backend_registry.h.
|
inlineexplicit |
Constructor that registers the backend.
| name | Backend name for registration |
Definition at line 209 of file backend_registry.h.
References database::core::backend_registry::instance(), and database::core::backend_registry::register_backend().
