[D-runtime] [D-Programming-Language/druntime] 74a596: Made capacity and reserve pure nothrow.

GitHub noreply at github.com
Sun Jul 8 16:34:12 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: 74a596e1ebb36b6c368c108499507f349316ebbb
      https://github.com/D-Programming-Language/druntime/commit/74a596e1ebb36b6c368c108499507f349316ebbb
  Author: jmdavis <jmdavisProg at gmx.com>
  Date:   2012-06-02 (Sat, 02 Jun 2012)

  Changed paths:
    M import/object.di
    M src/object_.d

  Log Message:
  -----------
  Made capacity and reserve pure nothrow.

I don't see any reason for these not to be pure and/or nothrow, and
their lack is problematic for pure functions (and to some extent,
nothrow functions, though try-catch can fix that as tedious as it may
be).


  Commit: 4631b526058d8400f4f6b50912f190a7656ead9e
      https://github.com/D-Programming-Language/druntime/commit/4631b526058d8400f4f6b50912f190a7656ead9e
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2012-07-08 (Sun, 08 Jul 2012)

  Changed paths:
    M import/object.di
    M src/object_.d

  Log Message:
  -----------
  Merge pull request #147 from jmdavis/reserve

Made capacity and reserve pure nothrow.


Compare: https://github.com/D-Programming-Language/druntime/compare/0f5f8c77ffef...4631b526058d


More information about the D-runtime mailing list