Opened 10 years ago

Closed 10 years ago

#7123 closed Bugs (fixed)

Forward declaration for scoped allocator customization traits.

Reported by: Daniel James Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: container
Version: Boost 1.50.0 Severity: Problem
Keywords: Cc:

Description

A container currently needs to include all of scoped_allocator.hpp just to customize the appropriate traits which seems a bit much. Could you declare (not define) constructible_with_allocator_suffix and constructible_with_allocator_prefix in a separate header so that they can be specialised without including all the other things?

It might be useful to include a definition of allocator_arg_t in case it needs to write a constructor using it.

Change History (1)

comment:1 by Ion Gaztañaga, 10 years ago

Resolution: fixed
Status: newclosed

Fixed in trunk at revision 79463

Note: See TracTickets for help on using tickets.