D-Programming-Language/phobos — pull request #1602 by monarchdodra (2013-09-27 12:24:29+00:00)
Title: Make swap work on non-assignable structs

Simply put, swap forgot to check for actually assign-ability, before looking at it's elaborateness.

This will make swap take the memswap road, if the object is not assignable.