Boost logo

Boost :

Subject: [boost] [beast] Wy does message<> store Body::value_type?
From: Peter Dimov (lists_at_[hidden])
Date: 2017-07-02 08:40:33


Why does message<isRequest, Body, Fields> store Body::value_type, using
Body::reader and Body::writer to manipulate it, instead of the more
straightforward approach of storing Body, which would have allowed making
`get` and `put` members of the Body directly, instead of using intermediate
classes?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk