D-Programming-Language/phobos — pull request #1933 by monarchdodra (2014-02-13 09:12:48+00:00)
Title: Add support for non-assignable construction for tuple

This allows constructing tuples with types that aren't assignable. This was a real usability problem, as it meant that it was not possible to create tuples of const objects, or simple of non-assignable types.

The only reason this was not possible was because of the constraints. I created a new (local) trait: `isBuildable`, which has some *slightly* different semantics than classic `isAssignable`.

Added unittest too. I switched a "template" for into a short `enum()`, so I suggest viewing without white, due to the indent change it implies:
https://github.com/D-Programming-Language/phobos/pull/1933/files?w=1