Opened 13 years ago

Closed 13 years ago

#575 closed request (fixed)

assignment of FileUtil

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.6
Component: utility Version: 0.5.5
Keywords: Cc:


My use case is something like

FileUtil file("name");
if (!file.exists())
  file = FileUtil("name2");

The class is trivial in that it only holds a string (by value), so a compiler generated assignement would do the work here.

IMO if assignment is available, you expect copying as well, so the copyconstructor should be available.

Change History (2)

comment:1 Changed 13 years ago by Peter

Status: newassigned

comment:2 Changed 13 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [2125]) fixes #575 - allow copy of FileUtil?

Note: See TracTickets for help on using tickets.