<s>
C++14	B-Language
is	O
a	O
version	O
of	O
the	O
ISO/IEC	O
14882	O
standard	O
for	O
the	O
C++	B-Language
programming	I-Language
language	I-Language
.	O
</s>
<s>
It	O
is	O
intended	O
to	O
be	O
a	O
small	O
extension	B-Architecture
over	O
C++11	B-Language
,	O
featuring	O
mainly	O
bug	O
fixes	O
and	O
small	O
improvements	O
,	O
and	O
was	O
replaced	O
by	O
C++17	B-Language
.	O
</s>
<s>
C++14	B-Language
was	O
published	O
as	O
ISO/IEC	B-Language
14882:2014	I-Language
in	O
December	O
2014	O
.	O
</s>
<s>
Because	O
earlier	O
C++	B-Language
standard	O
revisions	O
were	O
noticeably	O
late	O
,	O
the	O
name	O
"	O
C++1y	B-Language
"	O
was	O
sometimes	O
used	O
instead	O
until	O
its	O
approval	O
,	O
similarly	O
to	O
how	O
the	O
C++11	B-Language
standard	O
used	O
to	O
be	O
termed	O
"	O
C++0x	B-Language
"	O
with	O
the	O
expectation	O
of	O
its	O
release	O
before	O
2010	O
(	O
although	O
in	O
fact	O
it	O
slipped	O
into	O
2010	O
and	O
finally	O
2011	O
)	O
.	O
</s>
<s>
These	O
are	O
the	O
features	O
added	O
to	O
the	O
core	O
language	O
of	O
C++14	B-Language
.	O
</s>
<s>
C++11	B-Language
allowed	O
lambda	B-General_Concept
functions	I-General_Concept
to	O
deduce	O
the	O
return	O
type	O
based	O
on	O
the	O
type	O
of	O
the	O
expression	O
given	O
to	O
the	O
return	O
statement	O
.	O
</s>
<s>
C++14	B-Language
provides	O
this	O
ability	O
to	O
all	O
functions	O
.	O
</s>
<s>
It	O
also	O
extends	O
these	O
facilities	O
to	O
lambda	B-General_Concept
functions	I-General_Concept
,	O
allowing	O
return	O
type	O
deduction	O
for	O
functions	O
that	O
are	O
not	O
of	O
the	O
form	O
return	O
expression	O
;	O
.	O
</s>
<s>
In	O
order	O
to	O
induce	O
return	O
type	O
deduction	O
,	O
the	O
function	O
must	O
be	O
declared	O
with	O
auto	O
as	O
the	O
return	O
type	O
,	O
but	O
without	O
the	O
trailing	O
return	O
type	O
specifier	O
in	O
C++11	B-Language
:	O
</s>
<s>
In	O
C++11	B-Language
,	O
two	O
methods	O
of	O
type	O
deduction	O
were	O
added	O
.	O
</s>
<s>
C++14	B-Language
adds	O
the	O
decltype(auto )	O
syntax	O
.	O
</s>
<s>
C++11	B-Language
introduced	O
the	O
concept	O
of	O
a	O
constexpr-declared	O
function	O
;	O
a	O
function	O
which	O
could	O
be	O
executed	O
at	O
compile	O
time	O
.	O
</s>
<s>
However	O
,	O
C++11	B-Language
constexpr	O
functions	O
could	O
only	O
contain	O
a	O
single	O
expression	O
that	O
is	O
returned	O
(	O
as	O
well	O
as	O
static_asserts	O
and	O
a	O
small	O
number	O
of	O
other	O
declarations	O
)	O
.	O
</s>
<s>
C++14	B-Language
relaxes	O
these	O
restrictions	O
.	O
</s>
<s>
goto	O
statements	O
are	O
forbidden	O
in	O
C++14	B-Language
relaxed	O
constexpr-declared	O
functions	O
.	O
</s>
<s>
Also	O
,	O
C++11	B-Language
stated	O
that	O
all	O
non-static	O
member	O
functions	O
that	O
were	O
declared	O
constexpr	O
were	O
also	O
implicitly	O
declared	O
const	O
,	O
with	O
respect	O
to	O
this	O
.	O
</s>
<s>
In	O
prior	O
versions	O
of	O
C++	B-Language
,	O
only	O
functions	O
,	O
classes	O
or	O
type	O
aliases	O
could	O
be	O
templated	O
.	O
</s>
<s>
C++14	B-Language
allows	O
the	O
creation	O
of	O
variables	O
that	O
are	O
templated	O
.	O
</s>
<s>
C++11	B-Language
added	O
member	O
initializers	O
,	O
expressions	O
to	O
be	O
applied	O
to	O
members	O
at	O
class	O
scope	O
if	O
a	O
constructor	O
did	O
not	O
initialize	O
the	O
member	O
itself	O
.	O
</s>
<s>
C++14	B-Language
relaxes	O
this	O
restriction	O
,	O
allowing	O
aggregate	O
initialization	O
on	O
such	O
types	O
.	O
</s>
<s>
Numeric	O
literals	O
in	O
C++14	B-Language
can	O
be	O
specified	O
in	O
binary	O
form	O
.	O
</s>
<s>
Java	B-Language
,	O
C#	B-Application
,	O
Swift	B-Application
,	O
Go	B-Application
,	O
Scala	B-Application
,	O
Ruby	B-Language
,	O
Python	B-Language
,	O
OCaml	B-Language
,	O
and	O
as	O
an	O
unofficial	O
extension	B-Architecture
in	O
some	O
C	O
compilers	O
since	O
at	O
least	O
2007	O
.	O
</s>
<s>
In	O
C++14	B-Language
,	O
the	O
single-quote	O
character	O
may	O
be	O
used	O
arbitrarily	O
as	O
a	O
digit	O
separator	O
in	O
numeric	O
literals	O
,	O
both	O
integer	O
literals	O
and	O
floating	O
point	O
literals	O
.	O
</s>
<s>
In	O
C++11	B-Language
,	O
lambda	B-General_Concept
function	I-General_Concept
parameters	O
need	O
to	O
be	O
declared	O
with	O
concrete	O
types	O
.	O
</s>
<s>
C++14	B-Language
relaxes	O
this	O
requirement	O
,	O
allowing	O
lambda	B-General_Concept
function	I-General_Concept
parameters	O
to	O
be	O
declared	O
with	O
the	O
auto	O
type	O
specifier	O
.	O
</s>
<s>
Concerning	O
auto	O
type	O
deduction	O
,	O
generic	O
lambdas	B-General_Concept
follow	O
the	O
rules	O
of	O
template	O
argument	O
deduction	O
(	O
which	O
are	O
similar	O
,	O
but	O
not	O
identical	O
in	O
all	O
respects	O
)	O
.	O
</s>
<s>
Generic	O
lambdas	B-General_Concept
are	O
essentially	O
templated	O
functor	O
lambdas	B-General_Concept
.	O
</s>
<s>
C++11	B-Language
lambda	B-General_Concept
functions	I-General_Concept
capture	O
variables	O
declared	O
in	O
their	O
outer	O
scope	O
by	O
value-copy	O
or	O
by	O
reference	O
.	O
</s>
<s>
This	O
means	O
that	O
value	O
members	O
of	O
a	O
lambda	B-General_Concept
cannot	O
be	O
move-only	O
types	O
.	O
</s>
<s>
C++14	B-Language
allows	O
captured	O
members	O
to	O
be	O
initialized	O
with	O
arbitrary	O
expressions	O
.	O
</s>
<s>
This	O
allows	O
both	O
capture	O
by	O
value-move	O
and	O
declaring	O
arbitrary	O
members	O
of	O
the	O
lambda	B-General_Concept
,	O
without	O
having	O
a	O
correspondingly	O
named	O
variable	O
in	O
an	O
outer	O
scope	O
.	O
</s>
<s>
The	O
lambda	B-General_Concept
function	I-General_Concept
lambda	B-General_Concept
returns	O
1	O
,	O
which	O
is	O
what	O
value	O
was	O
initialized	O
with	O
.	O
</s>
<s>
The	O
deprecated	B-General_Concept
attribute	O
allows	O
marking	O
an	O
entity	O
deprecated	B-General_Concept
,	O
which	O
makes	O
it	O
still	O
legal	O
to	O
use	O
but	O
puts	O
users	O
on	O
notice	O
that	O
use	O
is	O
discouraged	O
and	O
may	O
cause	O
a	O
warning	O
message	O
to	O
be	O
printed	O
during	O
compilation	O
.	O
</s>
<s>
An	O
optional	O
string	B-Language
literal	I-Language
can	O
appear	O
as	O
the	O
argument	O
of	O
deprecated	B-General_Concept
,	O
to	O
explain	O
the	O
rationale	O
for	O
deprecation	B-General_Concept
and	O
suggest	O
a	O
replacement	O
.	O
</s>
<s>
C++14	B-Language
adds	O
a	O
shared	O
timed	O
mutex	O
and	O
a	O
companion	O
shared	O
lock	O
type	O
.	O
</s>
<s>
The	O
C++	B-Language
Standard	I-Language
Library	I-Language
defines	O
four	O
associative	O
container	O
classes	O
.	O
</s>
<s>
C++14	B-Language
allows	O
the	O
lookup	O
to	O
be	O
done	O
via	O
an	O
arbitrary	O
type	O
,	O
so	O
long	O
as	O
the	O
comparison	O
operator	O
can	O
compare	O
that	O
type	O
with	O
the	O
actual	O
key	O
type	O
.	O
</s>
<s>
It	O
is	O
also	O
useful	O
for	O
indexing	O
composite	O
objects	O
in	O
a	O
std::set	O
by	O
the	O
value	O
of	O
a	O
single	O
member	O
without	O
forcing	O
the	O
user	O
of	O
find	O
to	O
create	O
a	O
dummy	O
object	O
(	O
for	O
example	O
creating	O
an	O
entire	O
struct	B-Application
Person	O
to	O
find	O
a	O
person	O
by	O
name	O
)	O
.	O
</s>
<s>
C++11	B-Language
defined	O
the	O
syntax	O
for	O
user-defined	O
literal	O
suffixes	O
,	O
but	O
the	O
standard	O
library	O
did	O
not	O
use	O
any	O
of	O
them	O
.	O
</s>
<s>
C++14	B-Language
adds	O
the	O
following	O
standard	O
literals	O
:	O
</s>
<s>
The	O
two	O
"	O
s	O
"	O
literals	O
do	O
not	O
interact	O
,	O
as	O
the	O
string	O
one	O
only	O
operates	O
on	O
string	B-Language
literals	I-Language
,	O
and	O
the	O
one	O
for	O
seconds	O
operates	O
only	O
on	O
numbers	O
.	O
</s>
<s>
The	O
std::tuple	O
type	O
introduced	O
in	O
C++11	B-Language
allows	O
an	O
aggregate	O
of	O
typed	O
values	O
to	O
be	O
indexed	O
by	O
a	O
compile-time	O
constant	O
integer	O
.	O
</s>
<s>
C++14	B-Language
extends	O
this	O
to	O
allow	O
fetching	O
from	O
a	O
tuple	O
by	O
type	O
instead	O
of	O
by	O
index	O
.	O
</s>
<s>
Clang	B-Application
finished	O
support	O
for	O
C++14	B-Language
in	O
3.4	O
though	O
under	O
the	O
standard	O
name	O
c++1y	B-Language
,	O
and	O
made	O
C++14	B-Language
the	O
default	O
C++	B-Language
standard	O
in	O
Clang	B-Application
6	O
.	O
</s>
<s>
GCC	B-Application
finished	O
support	O
for	O
C++14	B-Language
in	O
GCC	B-Application
5	O
,	O
and	O
made	O
C++14	B-Language
the	O
default	O
C++	B-Language
standard	O
in	O
GCC	B-Application
6	O
.	O
</s>
<s>
Microsoft	B-Application
Visual	I-Application
Studio	I-Application
2017	O
has	O
implemented	O
"	O
almost	O
all	O
"	O
C++14	B-Language
features	O
.	O
</s>
