It is possible to forego the decltype step when using selectors, giving:
dyno::only<"foo"_s, "bar"_s>
instead of
dyno::only<decltype("foo"_s), decltype("bar"_s)>
To do this, we only need to add an implicit conversion to char const* to the literal type created by the _s literal. live example. Unfortunately, this is not supported by GCC 7, which is the only compiler I have locally that can actually build Dyno. So I'll wait a bit before making the change.
It is possible to forego the
decltype
step when using selectors, giving:instead of
To do this, we only need to add an implicit conversion to
char const*
to the literal type created by the_s
literal. live example. Unfortunately, this is not supported by GCC 7, which is the only compiler I have locally that can actually build Dyno. So I'll wait a bit before making the change.