Any Default Pass By Reference DataTypes in C++?
<p>I understand that unlike C# ( where class is passed by reference and struct is passed by default), both structure and class in C++ are passed by value into a method, unless it is explicitly modified to pass by reference.</p>

<p>i.e.,</p>

<pre><code>// this is a method that passes by reference
void PassReferenceOp(MyClass &amp;myclass, MyStruct &amp;myStruct)
{
}



// this is a method that passes by value
void PassReferenceOp(MyClass myclass, MyStruct myStruct)
{
}
</code></pre>

<p>My question is, is it that there is no data structure, data types in C++ that passes into a method by reference? That no matter I am using <code>std::list</code>, <code>std::list::iterator</code>,<code>std::map</code>, or any data types I create, be it struct or class, all are pass by reference?</p>
