Skip to content

Redis object #3

@WeiChihChern

Description

@WeiChihChern

Hello, is there any way of creating a sw::redis::Redis object without passing anything, and then connect the object to redis afterward?

sw::redis::Redis *redis = new sw::redis::Redis(config) <- this run np on mac os with clang, but have bad_alloc issue on ubuntu with g++.

Also, is there any way to check the connection result? Thank you.

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