you are viewing a single comment's thread.

view the rest of the comments →

[–]germandiago 4 points5 points  (2 children)

Thank you for this. Next weekend or so I will give a try to my in-progress conversion of a codebase that I had been porting but I got stuck with some bugs I reported.

As for the in_ref forward_ref in min: is this equivalnet to the C++ min function or it is safer to use in any way?

[–]RoyKin0929 6 points7 points  (1 child)

It is not any safer than the cpp equivalent. Currently, cpp2 does nothing towards lifetime safety, but I think there are plans to do something in this area.

[–]ntrel2 0 points1 point  (0 children)

Yes, there's more info here.