prvalue(3) prvalue(3)

NAME

prvalue - convert to prvalue

SYNOPSIS

#include <cfl/utilities/prvalue.hpp>

int i {0};

auto u = tuple (i); 	// tuple_c <int &>
auto v = prvalue (u); 	// tuple_c <int>

auto f = plus (1__, i); // closure_c <..., int &> 
auto g = prvalue (f);	// closure_c <..., int>

DESCRIPTION

Convert to prvalue. In particular, descend into containers and convert inner values to prvalues.

STANDARDS

Not a container function.

SEE ALSO

noxvalue(3), glvalue(3)