~ubuntu-branches/ubuntu/trusty/c++-annotations/trusty

« back to all changes in this revision

Viewing changes to yo/intro/compiling.yo

  • Committer: Package Import Robot
  • Author(s): Frank B. Brokken
  • Date: 2012-01-20 11:53:17 UTC
  • mfrom: (1.1.18)
  • Revision ID: package-import@ubuntu.com-20120120115317-v4wiq9sttx72fabk
Tags: 9.1.0-1
New upstream release (covering C++11 to a large extend)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 (tlurl(http://www.debian.org)) distribution of i(Linux)
9
9
 (hi(http://www.linux.org) tlurl(http://www.linux.org)).
10
10
 
11
 
The upcoming i(C++0x standard) has not yet fully been implemented in the
12
 
tt(g++) compiler. Unless indicated otherwise, all features of the C++0x
13
 
standard covered by the bf(C++) Annotations are available in tt(g++ 4.4),
14
 
unless indicated otherwise. To use these features the i(compiler flag)
15
 
ti(--std=c++0x) must currently be provided. It is assumed that this flag is
16
 
used when compiling the examples given by the Annotations. The features of the
17
 
C++0x standard may or may not be available in tt(g++) versions older than 4.4.
 
11
bf(C++)'s i(C++11 standard) (also known as the i(C++0x standard)) has not yet
 
12
fully been implemented in the tt(g++) compiler. Unless indicated otherwise,
 
13
all features of the C++11 standard covered by the bf(C++) Annotations are
 
14
available in tt(g++ 4.6), unless indicated otherwise. 
 
15
 
 
16
To use these features the i(compiler flag) ti(--std=c++0x) must currently be
 
17
provided. It is assumed that is flag is used when compiling the examples
 
18
given by the Annotations. The features of the C++11 standard may or may not be
 
19
available in tt(g++) versions before 4.6.
 
20
 
 
21
In addition to the tt(--std=c++0x) compiler flag, tt(g++ 4.7) and beyond 
 
22
also offers the ti(--std=c++11) flag.
 
23