Panel użytkownika
Nazwa użytkownika:
Hasło:
Nie masz jeszcze konta?

Funkcja zwracająca iterator.

Ostatnio zmodyfikowano 2015-02-07 22:34
Autor Wiadomość
krecik1334
Temat założony przez niniejszego użytkownika
» 2015-02-07 20:52:56
kompilator MinGW 4.9.2 64bit obsługuje NRVO?
P-126162
pekfos
» 2015-02-07 21:04:50
To jest w standardzie C++.
P-126164
Elaine
» 2015-02-07 22:34:14
kompilator MinGW 4.9.2 64bit obsługuje NRVO?
Tak, Jest opcja, która tą optymalizację wyłącza, ale gdybyś wiedział, jaka to opcja, to zapewnie nie pytałbyś się o to, czy obsługuje NRVO.

To jest w standardzie C++.
Jest w standardzie, ale nie jest wymagane. 12.8/31:
When certain criteria are met, an implementation is allowed to omit the copy/move construction of a class object, even if the constructor selected for the copy/move operation and/or the destructor for the object have side effects. […] This elision of copy/move operations, called copy elision, is permitted in the following circumstances
P-126172
1 « 2 »
Poprzednia strona Strona 2 z 2