Function setValue

Summary

#include <lib/inc/drogon/utils/coroutine.h>

(1) void setValue(const T &v)

(2) void setValue(T &&v)

Function overload

Synopsis

#include <lib/inc/drogon/utils/coroutine.h>

void setValue(const T &v)

Description

No description yet.

Source

Lines 523-526 in lib/inc/drogon/utils/coroutine.h.

void setValue(const T &v)
{
    result_.emplace(v);
}

Synopsis

#include <lib/inc/drogon/utils/coroutine.h>

void setValue(T &&v)

Description

No description yet.

Source

Lines 527-530 in lib/inc/drogon/utils/coroutine.h.

void setValue(T &&v)
{
    result_.emplace(std::move(v));
}





Add Discussion as Guest

Log in