Re: RFC: Split into smaller pieces

2016-10-21 Thread Jonathan Wakely
On 13/10/16 18:34 +0100, Jonathan Wakely wrote: This splits the large (2200 lines) header into smaller pieces, so there are separate headers for: - std::less, std::equal_to etc. (already in their own header) - std::__invoke (already in its own header) - std::reference_wrapper (often used on

Re: RFC: Split into smaller pieces

2016-10-13 Thread Jonathan Wakely
On 13/10/16 19:19 +0100, Jonathan Wakely wrote: On 13/10/16 18:34 +0100, Jonathan Wakely wrote: Code which doesn't need the whole of should include the relevant header instead. This means that we don't need to pull the whole of (and and ) into just because shared_ptr wants to use

Re: RFC: Split into smaller pieces

2016-10-13 Thread Jonathan Wakely
Apparently this got spam-filtered and didn't make it to the lists... On 13/10/16 18:34 +0100, Jonathan Wakely wrote: This splits the large (2200 lines) header into smaller pieces, so there are separate headers for: - std::less, std::equal_to etc. (already in their own header) - std::__invoke

Re: RFC: Split into smaller pieces

2016-10-13 Thread Jonathan Wakely
On 13/10/16 18:34 +0100, Jonathan Wakely wrote: Code which doesn't need the whole of should include the relevant header instead. This means that we don't need to pull the whole of (and and ) into just because shared_ptr wants to use reference_wrapper in one place. This reduces from