Get the latest tech news

Faking keyword arguments to functions in C++


One of the many nice language features in Python are keyword arguments. They make some types of APIs  concise and readable. Like so: Unfortu...

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of functions

functions

Photo of C++

C++

Photo of keyword arguments

keyword arguments

Related news:

News photo

The beauty and simplicity of the good old C-style void* in C++

News photo

The back cover of C++: The Language raises questions not answered by front cover

News photo

C++: The Documentary