Open munael opened 9 years ago
Basically, replace:
auto c = ({ forward_list<int> _t_return_value; for (auto i = 1; i <= 10; ++i) { _t_return_value.push_front(i); } _t_return_value; });
, for example, with:
auto c = [](){ forward_list<int> _t_return_value; for (auto i = 1; i <= 10; ++i) { _t_return_value.push_front(i); } return _t_return_value; } ();
instead. For portability.
Awesome work :)
Basically, replace:
, for example, with:
instead. For portability.
Awesome work :)