Reputation: 263118
Since when have they been part of standard C++? I think long long
is a C++0x feature, is that right? What about long double
? Was that already in C++98 or C++03?
Upvotes: 4
Views: 2674
Reputation: 185852
Both long double
and long long
have been around for quite a while, and were standardised in C89 and C99, respectively. C++ standardised long double
from its first version, C++98, and will add long long
in the upcoming revision to the standard.
Upvotes: 12