« first day (2147 days earlier)      last day (710 days later) » 

3:29 AM
@PeterT I see. Thank you.
For `std::unordered_map<std::unordered_set<std::string>, int, Hash, Equal> mp, why there is a default KeyEqual() function for std::unordered_set<std::string>, whereas there is no default Hash() function for std::unordered_set<std::string>?
 
 
6 hours later…
9:09 AM
Abstract classes must have either virtual destructors or protected destructors. No other choice. Am I right?
 
10:00 AM
Can modules from c++20 contain the main funtion?
 
 
5 hours later…
2:43 PM
When should I mark the copy constructor\move constructor as deleted one for the classes created by myself?What aspects should I consider?
 
 
2 hours later…
4:59 PM
If you define a destructor but do not want to define the other ones, for example. Read about the rule of 3/5/0
 
 
3 hours later…
7:44 PM
@John it has an operator== en.cppreference.com/w/cpp/container/unordered_set/operator_cmp , it doesn't have a std::hash specialization
 

« first day (2147 days earlier)      last day (710 days later) »