<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
</div>auto append(T, V)(ref T t, V value)<br>
{<br>
return t.insert(t.begin, value);<br>
}<br>
<br>
should do the trick.<br>
(you may add a guard to make sure T is a container)<br>
</blockquote></div><br><div>Thanks Christophe. I think you are relying on UFCS here.</div><div>So cool.</div><div><br></div><div>Regards</div><div>- Puneet</div><div><br></div>