Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
AbstractConfig Struct Reference

Polymorphic base class for configuration types. More...

#include <AbstractConfig.h>

Inheritance diagram for AbstractConfig:

Public Member Functions

virtual ~AbstractConfig ()=default
 Virtual destructor to allow safe polymorphic deletion.
 

Detailed Description

Polymorphic base class for configuration types.

AbstractConfig is a minimal base type that introduces a virtual destructor, allowing derived configuration structures to be managed through pointers or references to AbstractConfig without risking undefined behaviour at destruction time.

It does not impose any interface beyond lifetime management and is intended to keep configuration types lightweight and POD-like wherever possible.

Definition at line 30 of file AbstractConfig.h.

Constructor & Destructor Documentation

◆ ~AbstractConfig()

virtual AbstractConfig::~AbstractConfig ( )
virtualdefault

Virtual destructor to allow safe polymorphic deletion.

Declaring a virtual destructor ensures that when a configuration object is deleted through a pointer to AbstractConfig, the destructor of the most-derived type is invoked.


The documentation for this struct was generated from the following file: