Articles 6
Evgenii Legotckoi
Evgenii LegotckoiAug. 22, 2019, 3:42 a.m.
C ++ 17 - Lazy template functor with caching heavy function computation result Developing the idea of caching the result of calculations of heavy functions , I propose to write a small template class, which will take the function as an argument, namely the lambd…
Evgenii Legotckoi
Evgenii LegotckoiAug. 21, 2019, 5:45 a.m.
C++14 - lambda function with cached return value Suppose we wrote a function that calculates some value or uses a function to calculate this value, while the function_ which calculates the value is quite expensive to calculate and works for a …
Evgenii Legotckoi
Evgenii LegotckoiAug. 21, 2019, 3:56 a.m.
C++14 - unnamed structure as auto value returned by function Let's look at an interesting construction from the C++14 standard, which allows you to return the structure used in one place of the code, but you need to return an object with named fields. …
Comments 0
Nothing found
Forum topics 0
Nothing found
Forum posts 0
Nothing found
Test 0
Nothing found
Shared codes 0
Nothing found

Follow us in social networks