Ticket #4124 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

Rename dynamic_array::unsafe_push_back() to unchecked_push_back()

Reported by: gemacke Owned by: gemacke
Priority: normal Milestone: 1.2
Version: 1.1.1 Severity: normal
Keywords: Cc:

Description

This seems a bit more clear to me. The prefix unsafe could easily refer to thread-safety, and that is what Intel TBB uses it for. This function is thread-safe, it just doesn't check the allocation size before inserting. I think unchecked more accurately describes this.

Change History

comment:1 Changed 6 years ago by gemacke

  • Status changed from new to accepted

comment:2 Changed 6 years ago by gemacke

  • Status changed from accepted to closed
  • Resolution set to fixed

Fixed in r3788.

Note: See TracTickets for help on using tickets.