diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-06-21 07:33:43 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-09-04 18:42:11 +0200 |
commit | dbc78d185c4bafe03b458f9eeb7ef3af35ce2eb2 (patch) | |
tree | e6c060c4c15e633df344f18fd8af366c06175ba0 /lib/connection.cpp | |
parent | 8cb629f406f5b8b1ff7ce787dd3967d5684e07c3 (diff) | |
download | libquotient-dbc78d185c4bafe03b458f9eeb7ef3af35ce2eb2.tar.gz libquotient-dbc78d185c4bafe03b458f9eeb7ef3af35ce2eb2.zip |
SingleKeyValue: allow seamless construction from the underlying type
SingleKeyValue is a tiny wrapper and supposed to be discreet.
Having to explicitly (even if only with braces) construct its objects
stands in the way of readability on the consuming side of the code and
sometimes prevents direct initialisation of event objects without
constructors getting some kind of ContentParamTs parameter pack where
a single content_type argument would suffice otherwise.
Diffstat (limited to 'lib/connection.cpp')
0 files changed, 0 insertions, 0 deletions