Skip to content

cleanup of core/types

Jörg Pfister requested to merge bahn-simulator/libtrainsim:main into main

This commit cleans core/type up. libtrainsim::core::clamp is replaced by std::clamp libtrainsim::core::version now uses a tuple to store the data. This makes comparing two versions easier and cleans. The new compare operators are also tested in the unit tests.

Merge request reports