Hacker News new | ask | show | jobs
by clishem 3274 days ago

    namespace redis = cpp_redis;
there you go.
2 comments

A quick fix, but having many of these can make code much harder to read since you will need to trace through the various aliases to find the actual implementation.
now you have

    redis::redis_client
a bit better, but not

    redis::client