Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Add DeviceData::operator<<(const string &) and DbDatum::operator<<(const string &) #497

@bourtemb

Description

@bourtemb

It would make sense to convert DeviceData::operator<<(string &) to DeviceData::operator<<(const string &) in order to allow to insert directly const string variables without having to use c_str() string method or doing a cast to string.
The same could be done for DbDatum, but the method is not inline so might trigger some binary incompatibilities if we don't keep the old version too in this specific case. So for DbDatum, we should keep operator << (string &) and we could add operator << (const string &)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions