What I basically want is to create a function like this: It should be able to work only with classes that are convertible to std::string_view.
I'm trying to write some template functions for a template-only unit test library, specifically for Qt.
So I had this function...I decided to rewrite the function because, frankly, I was embarrassed by it. The function is straightforward... take a variable number of arguments of unknown type and do stuff.
I would like to understand better what happens when the Java compiler encounters a call to a method like the one below.
I am trying to make a function that can receive unlimited amount of arguments without crating GC.I know that this can be done with the params keyword but it creates GC. Also understand that you can pass array to to the function but I want to know if it is...