Opened 8 years ago

Closed 8 years ago

#9970 closed Feature Requests (fixed)

circular_buffer should support C++11 style allocators

Reported by: Guy Cardwell <gcardwel@…> Owned by: Glen Fernandes
Milestone: To Be Determined Component: circular_buffer
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc:

Description

It would be useful if circular_buffer could use simplified C++11 minimal allocators, especially by using std::allocator_traits. Possibly it could use the boost::allocator_traits instead.

Change History (5)

comment:1 by Glen Fernandes, 8 years ago

I've implemented this. Sent via a pull request: http://github.com/boostorg/circular_buffer/pull/1

comment:2 by Jan Gaspar, 8 years ago

Please submit the implementation to the boost then. I'm not maintaining the library any more. Cheers.

in reply to:  2 comment:3 by Glen Fernandes, 8 years ago

Replying to jano_gaspar:

Please submit the implementation to the boost then. I'm not maintaining the library any more. Cheers.

Done.

comment:4 by Glen Fernandes, 8 years ago

Owner: changed from Jan Gaspar to Glen Fernandes
Status: newassigned

comment:5 by Glen Fernandes, 8 years ago

Resolution: fixed
Status: assignedclosed

This is fixed. I committed my code and test to develop, let the tests cycle, and merged to master. See http://github.com/boostorg/circular_buffer/commit/7e233f7 for more details.

Note: See TracTickets for help on using tickets.