mirror of
https://github.com/reactos/CMake.git
synced 2024-12-14 07:09:22 +00:00
dd043c3f21
Record the features implemented by GNU 4.9 and Clang 3.4.
11 lines
160 B
C++
11 lines
160 B
C++
|
|
template<typename T>
|
|
constexpr T pi = T(3.1415926535897932385);
|
|
|
|
int someFunc()
|
|
{
|
|
auto pi_int = pi<int>;
|
|
auto pi_float = pi<float>;
|
|
return pi_int - 3;
|
|
}
|