[boost] Detecting if a class overrides free store functions