timeseries [WP]: avoid copy constructor with base class argument
Taking a reference to a public base class object in a copy constructor allows implicit type conversion even if the constructor is declared explicit. This causes undesired type conversion in instatiation of timeseries containers. In such cases the header data commonly is lost silently. I get rid of all such constructors, forcing users to explicitly express the desire of type conversion.
Please register or sign in to comment