GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing cpppatterns.com — Optional arguments - C++ Patterns
← Patterns
Optional arguments
This pattern is licensed under the CC0 Public Domain Dedication.
Requires
c++17
or newer.
IntentAllow argument values to be omitted when calling a function. DescriptionThe function This approach is more expressive than using pointers and If you are constructing an object with a complex combinatorial set of optional arguments, consider using the builder pattern. Share | ||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |