Timeline for How to Call function with default parameter? [duplicate]
Current License: CC BY-SA 4.0
Post Revisions
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 26, 2020 at 3:16 | vote | accept | nguyenmanh02123221 | ||
| Sep 26, 2020 at 3:16 | comment | added | nguyenmanh02123221 | Thanks everyone, my problem is solved! | |
| Sep 25, 2020 at 14:15 | history | duplicates list edited | Sam Varshavchik | duplicates list edited from Skip some arguments in a C++ function? to how to skip Default Arguments C++?, Skip some arguments in a C++ function?, C++ Skipping first default parameter in call | |
| Sep 25, 2020 at 14:15 | history | closed | Sam Varshavchik c++ Users with the c++ badge or a synonym can single-handedly close c++ questions as duplicates and reopen them as needed. | Duplicate of Skip some arguments in a C++ function? | |
| Sep 25, 2020 at 14:14 | answer | added | πάντα ῥεῖ | timeline score: 0 | |
| Sep 25, 2020 at 14:13 | comment | added | Eljay |
Make a helper forwarding function int myfunction(VpTR*& viewporttable, OpenMode f) { return myfunction(viewporttable, L"*Active", f); }
|
|
| Sep 25, 2020 at 14:12 | comment | added | Adrian Maire | You can still call it with arguments: myfunction(myviewportable, L"*Active", fR) | |
| Sep 25, 2020 at 14:10 | history | edited | nguyenmanh02123221 | CC BY-SA 4.0 |
deleted 3 characters in body
|
| Sep 25, 2020 at 14:10 | comment | added | UnholySheep | You can't. C++ doesn't have named parameters support some other languages have so you cannot omit any parameter | |
| Sep 25, 2020 at 14:09 | history | asked | nguyenmanh02123221 | CC BY-SA 4.0 |