From: Amos Jeffries Date: Sun, 26 Apr 2015 15:20:11 +0000 (-0700) Subject: Create Packable interface class X-Git-Tag: merge-candidate-3-v1~101^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=52d2fdc0183bf6f26b146e965c1e5f3b543a641c;p=thirdparty%2Fsquid.git Create Packable interface class Packer class model used C-style function pointers and a standalone object to perform C-style trampoline for function/method calls. C++ virtual methods offer to inline all that directly in the data store objects and enforces type safety on the child object methods instead of forcing manual type casting on developers. Re-implement Packer as a wrapper class providing the Packable interface for backward compatibility with Packer* code. Future code should inherit objects directly from Packable and implement the interface. --- 52d2fdc0183bf6f26b146e965c1e5f3b543a641c