Message from C, C++ talks

July 2019

— Std types are described "lightly", standard doesn't cover all usecases. I believe std types are allowed to stay in unspecified state after move. But move can be well specified for your own type

Message permanent page

— Correct. As I said, moving is choosing overload

— So
Again
I've been asking about whether I can check the validity of the object in the compile time?!

— /saved

— 

List of notes in C/C++:
- 0_to_show_item_use"#item"
- awesomeness
- best
- best-book
- bingo
- callingfunction
- cbook
- `c++_isnt_c_with_classes`
- cpp
- cppbook
- findprojects
- freeprogrammingbooks
- gcc9
- goodcodingmentality
- goodgoogling
- googleit
- great
- hownottoask
- howtoask
- howtopostcode
- howtoprogram
- ide
- learn
- mcve
- meta
- noendl
- nousingstd
- offtopic
- ossu
- ot
- reference-the-standard
- rules
You can retrieve these notes by using /get notename, or #notename

— Answer is no

— Thank you

— #rules

— Https://t.me/programminginc/82932

— #ot

— Https://t.me/joinchat/Ci0Cak-BPuxaHdcbjab4QQ

— You can't do it in runtime also

— May be someone knows here.
How can I debug signals using vscode? It just doesn't stop on breakpoint if signal catched.
I am debugging it with lldb now but it's not much convenient.

Message permanent page

— Hello, i'm writting a mail app and I have problem (of starter):

— // Loop over the bundle and display the FROM and SUBJECT of each.
int i = 0;
int numEmails = bundle->get_MessageCount();
while (i < numEmails) {
CkEmail *email = bundle->GetEmail(i);

MailButton *mail = new MailButton(this);
mail->setStyleSheet("border-radius: 5px; background-color: rgba(0, 0, 0, 0); margin-bottom: 1px;");
mail->setFixedHeight(70);
mail->setFixedWidth(ui->listView->width() - 12);

QVBoxLayout *mLayout = new QVBoxLayout;

std::cout « email->ck_from() « "\r\n";
QLabel *FROM = new QLabel;
FROM->setText(email->ck_from());
FROM->setStyleSheet("font-size: 15px; color: white; background: #00000000;");
FROM->setMargin(0);
FROM->setFixedHeight(30);

std::cout « email->subject() « "\r\n";
QLabel *SUBJECT = new QLabel;
SUBJECT->setText(email->subject());
SUBJECT->setStyleSheet("font-size: 14px; color: white; background: #00000000;");
SUBJECT->setMargin(0);
SUBJECT->setFixedHeight(20);

std::cout « "--" « "\r\n";

mLayout->addWidget(FROM);
mLayout->addWidget(SUBJECT);
mail->setLayout(mLayout);

QListWidgetItem *item = new QListWidgetItem;
item->setSizeHint(mail->sizeHint());

emit transfer(QString(email->body()));

connect(this, SIGNAL(transfer(QString)), mail, SLOT(handleMessage(QString)));
connect(mail, SIGNAL(Processed(QString)), this, SLOT(MessageFallBack(QString)));

ui->listView->addItem(item);
ui->listView->setItemWidget(item, mail);

delete email;
i = i + 1;

Message permanent page