Skip to main content

6 docs tagged with "functions"

View all tags

Apply and Map

pandas provides several methods to apply custom functions to data:

Default Function Arguments

Default arguments allow function parameters to have default values when not explicitly provided by the caller.

Function Overloading

Function overloading allows multiple functions with the same name but different parameters. The compiler selects the best match based on arguments.

Functions and Macros

Functions and macros allow you to create reusable CMake code, reducing duplication and improving maintainability. While they appear similar, they have important differences in how they handle variable scope.

Inline Functions

inline suggests the compiler replace function calls with function body, eliminating call overhead. Modern compilers decide automatically.