<br><br><div class="gmail_quote">On Tue, Oct 25, 2011 at 8:06 AM, Gor Gyolchanyan <span dir="ltr"><<a href="mailto:gor.f.gyolchanyan@gmail.com">gor.f.gyolchanyan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

And so you can have both thread-safe synchronized heavy-duty container<br>
and a fast and small container all in one just by overloading the<br>
appropriate methods and adding appropriate synchronization blocks in<br>
the shared ones.<br>
This is one of those "little" advantages of D over C++, that make my<br>
life _SO_ much easier.<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br></div><div>Except that overloading shared and non-shared methods is not allowed. </div></div>