You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
457 B
21 lines
457 B
4 years ago
|
double t = 111;
|
||
|
double t1 = 222;
|
||
|
double t123 = 333;
|
||
|
|
||
|
|
||
|
auto f = [](double x) -> double
|
||
|
{
|
||
|
double t = 1111;
|
||
|
double t1 = 1222;
|
||
|
double t123 = 1333;
|
||
|
};
|
||
|
|
||
|
|
||
|
std::transform(v1.begin(), v1.end(), v2.begin(),
|
||
|
[](double x) -> double
|
||
|
{
|
||
|
double t = 2111;
|
||
|
double t1 = 2222;
|
||
|
double t123 = 2333;
|
||
|
}; );
|