How about defining some static members in your class that return values of interest?
class Date {
// ...
public static Date last() {
return Date(9999,99,99);
}
// ...
}
0
solved C++ Object Date but called with only int?
How about defining some static members in your class that return values of interest?
class Date {
// ...
public static Date last() {
return Date(9999,99,99);
}
// ...
}
0
solved C++ Object Date but called with only int?