>
>
> auto append(T, V)(ref T t, V value)
> {
>  return t.insert(t.begin, value);
> }
>
> should do the trick.
> (you may add a guard to make sure T is a container)
>

Thanks Christophe. I think you are relying on UFCS here.
So cool.

Regards
- Puneet

Reply via email to