I\'m trying to port a Bencode library originally I wrote in C# to C++.
Abstract Base class
class BObjectBase { protected: BObjectBase() = defau