prvalue(3) | prvalue(3) |
prvalue - convert to prvalue
#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>
Convert to prvalue. In particular, descend into containers and convert inner values to prvalues.
Not a container function.
noxvalue(3), glvalue(3)