File: cxx11.tex

package info (click to toggle)
python-escript 5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 87,772 kB
  • ctags: 49,550
  • sloc: python: 585,488; cpp: 133,173; ansic: 18,675; xml: 3,283; sh: 690; makefile: 215
file content (14 lines) | stat: -rw-r--r-- 740 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
\chapter{Required compiler features}
\label{app:cxxfeatures}

Building escript from source requires that your c++ compiler supports at least the following features:
\begin{itemize}
 \item \texttt{std::complex<>}
 \item Variables declared with type \texttt{auto}
 \item Variables declared with type \texttt{decltype(T)}
 \item \texttt{extern template class} to prevent instantiation of templates. 
 \item \texttt{template class \textit{classname$<$type$>$};} to force instantiation of templates
 \item \texttt{isnan()} is defined in the \texttt{std::} namespace
\end{itemize}
The above is not exhaustive and only lists language features which are more recent that our previous baseline of c++99 (or which
we have recently begun to rely on).