@@ -41,26 +41,14 @@ POV-Ray is being developed with portability high in mind. In practice and at pre
41
41
- _ Static Thread-Local Template Members_ : Template classes _ must not_ have thread-local
42
42
static member variables. See the @ref PooledSimpleVector template class for a viable
43
43
workaround. [ XCode 8 and later, apparently still unresolved as of 2018-04-08]
44
- - ` std::floorf(float) ` : This function _ must not_ be used. Substitute ` std::floor(float) `
45
- instead. [ GCC, apparently all versions as of 2019-02-11]
46
-
47
- - Source code should use the new features of C++11 with caution, as even some major compiler
48
- brands still have not achieved full compliance yet. The following constructs can be considered
49
- fair game though, as they are thought to provide significant benefit, and support by all major
50
- compiler brands seems to be mature by now:
51
- - Features "borrowed" from ISO/IEC 9899:1990 (aka C90, aka C89).
52
- - Features "borrowed" from ISO/IEC TR 19768:2007 (aka C++ Technical Report 1, aka TR1).
53
- - ` decltype(v) ` , with ` v ` being a simple variable or class member (as opposed to a more complex expression)
54
- - Range-based for loops (most notably the ` for (auto&& i : v) ` idiom to iterate over a vector).
55
- @note
56
- Other C++11 features will be added to the above list at the discretion of the dev team, or
57
- upon request if a reasonable case can be made in their favour. Note however that at present
58
- we will only consider features that have been properly supported by GCC as early as version
59
- 4.8, by Clang as early as version 4.2, and by MSVC as early as internal version 19.0
60
- (Visual Studio 2015).
44
+ - _ Math Library Float Functions_ : The ` f ` -suffixed variants of ` <cmath> ` library functions
45
+ (e.g. ` std::fabsf(float) ` ) _ must not_ be used. The float overloads of the non-suffixed
46
+ variants (e.g. ` std::fabs(float) ` ) should be used instead. [ GCC, all versions as of
47
+ 2019-02-11] .
61
48
62
49
- Source code should avoid potential conflicts with later standard extensions to the C++ language,
63
- most notably ISO/IEC 14882:2014 (aka C++14) and the upcoming successor (aka C++17).
50
+ most notably ISO/IEC 14882:2014 (aka C++14), ISO/IEC 14882:2017 (aka C++17) and the upcoming
51
+ successor (aka C++20).
64
52
65
53
- While POV-Ray does require boost, we want to keep dependency on it to a minimum. The following are currently
66
54
considered fair game:
0 commit comments