[Issue 17565] New: Rename theAllocator to threadAllocator

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jun 28 05:46:42 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17565

          Issue ID: 17565
           Summary: Rename theAllocator to threadAllocator
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: sludwig at outerproduct.org

The current name doesn't convey the message that this is a thread-local
allocator. The relation to processAllocator also isn't quite clear. The private
variable that backs theAllocator is already named _threadAllocator and doing
the same for the accessor property is arguably the most logical choice.

--


More information about the Digitalmars-d-bugs mailing list