How to pass array to function without variable instantiation, in C++
<p>Can I do this in C++ (if yes, what is the syntax?):</p>

<pre><code>void func(string* strs) {
    // do something
}
func({"abc", "cde"});
</code></pre>

<p>I want to pass an array to function, without instantiating it as a variable. Thanks for suggestions.</p>
