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

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];

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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