template <class T>
CopyOrRef<T> || std::is_void_v<T>
Matches types which are CopyOrRef or are void.
CopyOrRef
void
A helper for genertic types which can hold void as a type.