Boost Replaceable by C++11 language features or libraries
Replaceable by C++11 language features or libraries
- Foreach → Range-based for
 - Functional/Forward →
Perfect forwarding (with rvalue references, variadic templates and std::forward) - In Place Factory,
Typed In Place Factory → Perfect forwarding (at least for the documented use cases) - Lambda → Lambda expression (in
non-polymorphic cases) - Local function →
Lambda expression - Min-Max → std::minmax, std::minmax_element
 - Ratio → std::ratio
 - Static Assert → static_assert
 - Thread → <thread>, etc (but check this
question). - Typeof → auto, decltype
 - Value initialized → List-initialization
(§8.5.4/3) 
TR1 (they are marked in the documentation if
 those are TR1 libraries)
- Array → std::array
 - Bind → std::bind
 - Enable If → std::enable_if
 - Function → std::function
 - Member Function → std::mem_fn
 - Random → <random>
 - Ref → std::ref, std::cref
 - Regex → <regex>
 - Result Of → std::result_of
 - Smart Ptr → std::unique_ptr,
std::shared_ptr, std::weak_ptr (but boost::intrusive_ptr still cannot be replaced) - Swap (swapping arrays) → std::swap
 - Tuple → std::tuple
 - Type Traits →
<type_traits> - Unordered → <unordered_set>,
<unordered_map> 
Features back-ported from C++11:
Replaceable by C++14/17 language features or libraries (based on http://isocpp.org/blog/2013/04/trip-report-iso-c-spring-2013-meeting)
- Concept check → Concepts Lite
 - Filesystem → <filesystem>
 - Optional → std::optional
 
A large part of MPL can be trimmed down or
 removed using variadic templates. Some common use cases of Lexical
 cast can be replaced by std::to_string and std::stoX.
Some Boost libraries are related to C++11 but also have some more extensions, e.g.Boost.Functional/Hash contains hash_combine and
 related functions not found in C++11, Boost.Chronohas
 I/O and rounding and many other clocks, etc. so you may still want to take a look at the boost ones before really dismissing them.
http://stackoverflow.com/questions/8851670/relevant-boost-features-vs-c11
Boost Replaceable by C++11 language features or libraries的更多相关文章
- 升级 GCC 支持C++11 或 configure: error: *** A compiler with support for C++11 language features is required.
		
configure: error: *** A compiler with support for C++11 language features is required. 参考链接: (1)升级 G ...
 - New Language Features in C# 6
		
Source:https://github.com/dotnet/roslyn/wiki/New-Language-Features-in-C%23-6 This document describes ...
 - Massive Collection Of Design Patterns, Frameworks, Components, And Language Features For Delphi
		
Developer beNative over on GitHub has a project called Concepts which is a massive collection of Del ...
 - Quartz Tutorial 11 - Miscellaneous Features of Quartz
		
文章目录 Plug-Ins Quartz提供了一个接口(org.quartz.spi.SchedulerPlugin) 用于插入附加的功能. 与Quartz一同发布的,提供了各种实用功能的插件可以在o ...
 - 【VS开发】【C/C++开发】关于boost库的C++11导致的undefined符号问题
		
undefined reference to boost::program_options::options_description::m_default_line_length 问题最终解决依靠的是 ...
 - boost::asio 连接管理11 如何关闭连接
		
在实际产品运行中,对连接管理有了更新的认识,这里分享一下. shared_ptr管理连接对象的生命周期 shared_ptr的引用计数器决定了连接对象的生命周期.这里我说的连接对象就是在我的前文:ht ...
 - Java 11   New   Features
		
前言 北京时间 2018年9 月 26 日,Oracle 官方宣布 Java 11 正式发布.这是 Java 大版本周期变化后的第一个长期支持版本,非常值得关注.从官网即可下载, 最新发布的 Java ...
 - C++11 Concurrency Features
		
Concept Header Summary Threads <thread> Standard, low-level, type-safe; ...
 - Pro Aspnet MVC 4读书笔记(3) - Essential Language Features
		
Listing 4-1. The Initial Content of the Home Controller using System; using System.Collections.Gener ...
 
随机推荐
- Windows 2008 防火墙开放端口
			
当我们使用新服务器架设新主机时,经常会遇到网站无法访问的情况,当问及客服时,经常会告知,操作系统默认不打开80端口,请先确定80是否打开并确定没有被占用.那么,我们该如何打开80端口呢? 方法/步骤 ...
 - 接口与抽象类的区别-Java
			
概念-抽象类: 类是对某一个对象的具体描述,抽象类则是对有共通之处的对象,描述共通之处的类;包含抽象方法的类一定的抽象类,抽象类并不一定包含抽象方法;抽象类中可以有数据成员,但数据成员必须是stati ...
 - 最优化方法系列:Adam+SGD—>AMSGrad
			
自动调参的Adam方法已经非常给力了,不过这主要流行于工程界,在大多数科学实验室中,模型调参依然使用了传统的SGD方法,在SGD基础上增加各类学习率的主动控制,以达到对复杂模型的精细调参,以达到刷出最 ...
 - 【转载】原 IntelliJ IDEA (idea)引入eclipse web项目
			
原文地址:http://my.oschina.net/u/1170781/blog/192731 摘要 概述IntelliJ IDEA,以后都简称为idea,鼓捣了很久,看了很多例子才搞出来,希望对其 ...
 - pycharm中将ui文件转换成py文件
			
方法一:直接使用命令行 python -m PyQt5.uic.pyuic xx.ui -o xx.py 方法二:直接使用命令 先进到C:\python\pkgs\pyqt-5.9.2-py37h65 ...
 - 模板—splay
			
#include<iostream> #include<cstdio> #define cin(x) scanf("%d",&x) using na ...
 - 个人总结的常用java,anroid网站
			
http://blog.csdn.net/wanghao200906/article/details/49334987
 - 10JDBC、CURD、XML、XPath
			
10JDBC.CURD.XML.XPath-2018/07/20 1.JDBC JDBC:java database connectivity JDBC与数据库驱动的关系:接口与实现的关系. JDBC ...
 - C++ Primer(第4版)-学习笔记-第5部分:高级主题
			
第17章 用于大型程序的工具 异常处理 不存在数组或函数类型的异常.相反,如果抛出一个数组,被抛出的对象转换为指向数组首元素的指针,类似地,如果抛出一个函数,函数被转换为指向该函数的指针. 不要抛出 ...
 - 洛谷——P1594 护卫队
			
P1594 护卫队 题目描述 护卫车队在一条单行的街道前排成一队,前面河上是一座单行的桥.因为街道是一条单行道,所以任何车辆都不能超车.桥能承受一个给定的最大承载量.为了控制桥上的交通,桥两边各站一个 ...