User profile: frek

User info
User name:frek
History
Joined:
Number of posts:548
Latest posts:

defaulted member function
I didn't know the story is that massive that needs a book to tell it all!

defaulted member function
1) By "you value-initialize objects" you mean using specifically curly braces for the objects, yeah?...

defaulted member function
What does [code]=default[/code] mean in: [code]struct S { int i; S(int ii) : i(ii) {} S() = defau...

Passing pointers to function taking iterators
Tested this using -std=c++23: [code]std::cout << std::boolalpha << std::same_as<std::vector<double>:...

Passing pointers to function taking iterators
Of course that [code]iter[/code] shouldn't be [code]end()[/code]! ([code]UB[/code])