I’m jealous!
1 Like
template <typename... ARGS>
DebugComponent(ARGS&&... args): T(std::forward<ARGS>(args)...)
{
//needed in case you have custom constructors
}
Why not just this?
using T::T;
1 Like
The reason is, I’ve never seen this syntax before, but it seems pretty convenient!
It’s been a long discussion, but I thought I’d link my project I showed 2 weeks ago, since I think it fits perfectly the use case:
Having knobs, labels (aka captions) and all without declaring a Label
Reading your comment again, it now dawns on me what help it would be when you wrote about passing a Colour, thanks!
1 Like