Skip to content

Create a wrapper around shared_ptr so that ResultSet::ptr forwards operator[] to the object. Same for PreparedStatement and and operator<<. #21

@mrts

Description

@mrts

So that one can directly do

ResultSet::ptr result = statement->executeQuery();
std::cout << result[0];

instead of the ugly explicit dereference

std::cout << (*result)[0];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions