Date: Sun, 7 Apr 2024 10:38:13 +0200
Your proposal should discuss forwarding:
template <typename T>
struct Inherit : T {
template <typename... Args>
Inherit(Args&&... args) : T{ std::forward<Args>(args)... } {}
};
template <typename T>
struct Inherit : T {
template <typename... Args>
Inherit(Args&&... args) : T{ std::forward<Args>(args)... } {}
};
Received on 2024-04-07 08:38:17