Skip to content

mohammadvazirpanah/MyCpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown Guide


Using Variadic Parameter Packs in CPP

Click on Link

Lambda Function

[ capture clause ] (parameters) -> return-type { definition of method }

Click Here to Expand
  • [&] : capture all external variable by reference
  • [=] : capture all external variable by value
  • [a, &b] : capture a by value and b by reference
  • A lambda with empty capture clause [ ] can access only those variable which are local to it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published