Title
Customizable traits should have their own headers
Status
nad
Section
[utility]
Submitter
BSI

Created on 2010-08-25.00:00:00 last changed 166 months ago

Messages

Date: 2011-03-05.21:44:45

Rationale:

This suggest is not a defect, as the likely benefit is small, if any, compared to the cost of not just implementating the feature, but also explaining/teaching it.

Date: 2010-11-29.10:49:30

[ 2010 Batavia: ]

Closed as NAD with the rationale below.

Date: 2010-11-09.13:07:03

[ Resolution proposed in ballot comment ]

Move the following traits classes into their own headers, and require the existing header to #include the traits header to support backwards compatibility:

iterator_traits (plus the iterator tag-types)
allocator_traits
pointer_traits
char_traits
regex_traits
Date: 2010-11-09.13:07:03

[ 2010 Rapperswil ]

After some discussion, consensus is that moving these features into separate headers does not buy much in practice, as the larger headers will inevitably be included anyway. Resolve as NAD.

Date: 2010-10-24.22:33:31

[ 2010 Rapperswil ]

There was no enthusiasm for touching char_traits or regex_traits. Consensus to move iterator_traits, allocator_traits and pointer_traits to their own respective headers once wording supplied.

Date: 2010-10-24.03:04:13

Addresses GB-79

The library provides several traits mechanisms intended a customization points for users. Typically, they are declared in headers that are growing quite large. This is not a problem for standard library vendors, who can manage their internal file structure to avoid large dependencies, but can be a problem for end users who have no option but to include these large headers.

History
Date User Action Args
2011-03-05 21:44:45adminsetmessages: + msg5601
2010-11-29 10:49:30adminsetmessages: + msg5452
2010-11-09 13:07:03adminsetmessages: + msg5323
2010-11-09 13:07:03adminsetstatus: open -> nad
2010-10-24 22:33:31adminsetmessages: + msg5077
2010-10-24 03:04:13adminsetmessages: + msg4902
2010-08-25 00:00:00admincreate