I have template <typename CommonResultType, sizet sizeP> void AEWQWQWQW(const…
- User
I have
template <typename CommonResultType, size_t sizeP> void AEWQWQWQW(const ZZZ& request, AAA<CommonResultType, sizeP>& result) {
I want create
template <typename CommonResultType, size_t sizeP> void WWWWWW(const ZZZ& request) {
but I need pass template param somehow
using AAA = something<something<>... etc > , dont assume how AAA impl, just know what I can decltype(RESULT) since I know where input param for AEWQWQWQW(req, result)
WWWWWW<IMPL HERE decltype(result) IMPL HERE>(req)
so
if(cond) { AEWQWQWQW(req, result) } else { WWWWWW<IMPL HERE decltype(result) IMPL HERE>(req) } C++20
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.