cplusplus / nbballot

Handling of NB comments in response to ballots
14 stars 4 forks source link

JP7-027 20.3.4.1 p3 [out.ptr.t] Class definition after example #569

Closed jensmaurer closed 9 months ago

jensmaurer commented 9 months ago

There should be a class template definition before the example.

Move class template definition before p1.

jensmaurer commented 9 months ago

This is increasingly common style: Present an example how to use a facility before defining the facility. We do that in [ranges] quite a bit.

@jwakely to chime in.

jwakely commented 9 months ago

Reject

jensmaurer commented 9 months ago

There was no consensus for a change. Introducing a facility by showing an example use is considered reader-friendly.

tkoeppe commented 9 months ago

Noted.