This commit is contained in:
2026-03-17 16:46:05 +01:00
parent ee70d90785
commit 020939d1e3
8 changed files with 126 additions and 15 deletions

View File

@@ -8,10 +8,11 @@ public:
int main() {
std::cout << "Start" << std::endl;
Test a;
Test a; // konstruktor 1
{
Test b;
Test b; // konstruktor 2
std::cout << "Wewnatrz bloku" << std::endl;
}
} // destruktor 2
std::cout << "Koniec" << std::endl;
// destruktor 1
}