• Miaou@jlai.lu
    link
    fedilink
    arrow-up
    3
    ·
    7 months ago

    Copy has a very different meaning between the two languages. In rust the equivalent of a c++ copy is a clone() call for anything non trivial