D-Programming-Language/phobos — pull request #764 by monarchdodra (2012-08-28 17:59:24+00:00)
Title: Fixes for issues 8332 and 8333 (try 2)

My previous pull request got lost in development.

I decided it was best to do things one small part at once.

This development only contains the implementation for the missing methods, as well as a bit of bugfix for the existing ones.

There is *some* comment/method shuffling, but better to do it on a simple pull (regrouping empty/length/capacity) (making comment alignment consistent).

Added unit test.