ПК
class mail {
/*_*/
std::string mailbox;
std::string hostname;
mail(std::string_view mailbox, std::string_view hostname)
: mailbox(mailbox), hostname(hostname) {}
/*_*/
};Так же работает, но параметры не выглядят уродски
Size: a a a
ПК
class mail {
/*_*/
std::string mailbox;
std::string hostname;
mail(std::string_view mailbox, std::string_view hostname)
: mailbox(mailbox), hostname(hostname) {}
/*_*/
};W
class mail {
/*_*/
std::string mailbox;
std::string hostname;
mail(std::string_view mailbox, std::string_view hostname)
: mailbox(mailbox), hostname(hostname) {}
/*_*/
};m
class mail {
/*_*/
std::string mailbox;
std::string hostname;
mail(std::string_view mailbox, std::string_view hostname)
: mailbox(mailbox), hostname(hostname) {}
/*_*/
};DS
AB
class mail(){
/*_*/
std::string mailbox;
std::string hostname;
static constexpr const char separator = '@';
mail(std::string_view mailbox_, std::string_view hostname_)
: mailbox(mailbox_), hostname(hostname_) {}
/*_*/
};AB
m
t_? Temporary?t_ для non type template parameter.AB
t_? Temporary?t_ для non type template parameter.AB
AB
d
static_cast<int>(numeric_limits<float>::infinity())
UB или нет?DP
DF
DF
DF
AT
static_cast<int>(numeric_limits<float>::infinity())
UB или нет?d