没有合适的资源?快使用搜索试试~ 我知道了~
Functional Programming with C++
4星 · 超过85%的资源 需积分: 9 10 下载量 24 浏览量
2018-06-17
12:23:25
上传
评论 1
收藏 551KB PDF 举报
温馨提示
试读
100页
Functional programming is experiencing a resurgence with languages like Python, Haskell, and Scala. C++ and Java have also added functional features, such as lambdas and futures. Writing C++ in a functional style using const variables, functions without side effects, recursive functions, and function objects results in code that is often simpler and easier to maintain and understand, especially when poorly documented. This book explores functional techniques in C++ code and their advantages and disadvantages.
资源推荐
资源详情
资源评论
TableofContents
FunctionalProgrammingwithC++
Introduction
Sideeffects
Sequences
Compiler
Performance
Algorithms
Recursivefunctions
all_of
any_of
none_of
for_each
find
find_if
find_if_not
find_end
find_first_of
adjacent_find
count
accumulate
count_if
mismatch
equal
advance
distance
is_permutation
search
search_n
min_element
adjacent_difference
inner_product
partial_sum
iota
Run-timeResults
constexpr
Lambdas
RecursiveLambda
Memoization
LazyEvaluation
Templates
BoostMPL
BoostFusion
PersistentData
ListFunctions
FunctionalProgrammingwithC++
AnAlternativePerspectiveonC++
ByChrisWeed
FunctionalC++
Copyright©2015byChrisWeed
Allrightsreserved.Nopartofthispublicationmaybereproduced,distributed,ortransmittedinanyformorbyany
means,includingphotocopying,recording,orotherelectronicormechanicalmethods,withoutthepriorwritten
permissionofthepublisher,exceptinthecaseofbriefquotationsembodiedincriticalreviewsandcertainother
noncommercialusespermittedbycopyrightlaw.Forpermissionrequests,writetothepublisher,addressed“Attention:
PermissionsCoordinator,”attheaddressbelow.
ChrisWeed
chrisweed@gmail.com
Trademarkednamesmayappearinthisbook.Ratherthanuseatrademarksymbolwith
everyoccurrenceofatrademarkedname,Iusethenamesinaneditorialfashionandtothe
benefitofthetrademarkowner,withnointentionofinfringementofthetrademark.
Theinformationinthisbookisdistributedonan“asis”basis,withoutwarranty.Although
everyprecautionhasbeentakeninthepreparationofthiswork,theauthorshallhaveno
liabilitytoanypersonorentitywithrespecttoanylossordamagecausedorallegedtobe
causeddirectlyorindirectlybytheinformationcontainedinthiswork.
剩余99页未读,继续阅读
资源评论
- freesnail2020-03-17资源清晰,好文档
虾球xz
- 粉丝: 227
- 资源: 105
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- HandTrackingModule.py
- Python基于卷积神经网络的鸟类识别项目源代码,ipynb文件
- 批量将py编译为pyd文件.atbx
- Python项目-学生管理系统
- 图像处理基于matlab图像RGB三色合成分离【含Matlab源码第1发】
- verilog HDL硬件语法设计包括算术运算三人表决器Verilog的阻塞和非阻塞赋值源码例程quartus13.1工程合集
- 【文章话题分类论文】OpenAlex Topic Classification Whitepaper
- linux学习常用命令
- 功率拓扑快速参考指南-ti,TI官方出品
- 开源2023电赛国赛运动目标控制(E题)视觉部分
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功