On 9/3/16 1:51 AM, Manu via Digitalmars-d wrote:
I've never thought about this problem in C++, or had any problems with ADL.
How do you swap two objects of a generic type that may or may not define its own swap? -- Andrei
On 9/3/16 1:51 AM, Manu via Digitalmars-d wrote:
I've never thought about this problem in C++, or had any problems with ADL.
How do you swap two objects of a generic type that may or may not define its own swap? -- Andrei