pointers to pointers considered harmful #421
Labels
class-requirement
Issue that can be traced back to a design requiement
domain-production
Pertains to the shippable code rather than any scaffolding
priority-low
A minor issue
both
can_transport_impl
andudp_transport_impl
havemakeTransport
methods that take a span ofIMedia*
. This is a pointer to pointers which means a simple implementation with only one IMedia implementation has to add an additional memory location to store a pointer to the one implementation.Solutions include a different override for this case or
std::reference_wrapper
in the span.The text was updated successfully, but these errors were encountered: