construct(3) construct(3)

NAME

construct - adapt constructor to free function

SYNOPSIS

#include <cfl/functions/construct.hpp>

struct T
{
    template <typename U> T (U);
};

auto f = construct <T>;
auto r = f (0);

DESCRIPTION

Adapt constructor to a free function.

RETURN VALUES

A function.

STANDARDS

construct is a container function.

SEE ALSO

container(3)