Well, not in OpenGL, because it is compatible with the C API.
As for DirectX, they are certainly not going to go and change the APIs everywhere, just to include neat language features like lambdas when it's not necessary. C ++ 11 compilers are still not used in comparison with previous versions of the standard, so it would be very foolish to create an API that only a small part of developers can use.
There are vast implications for changing your API when thousands / millions of people use it. It would be extremely irresponsible of them to add lambdas to the API functions just because they are neat and shiny. Also, you donโt like that you can just break your API with each new version if you like people who really use it.
EJDIT:
At first I misunderstood the question. C ++ 11 is so new that there are still no API changes for existing libraries, since it greatly limits their user base (at the moment, as far as I know, there is currently no fully functional C ++ 11 compiler, and even if most of us have not used it yet).
As some of the commentators rightly noted, I was too narrow in my original answer. You added that the beta version will be acceptable. I still don't know about any libraries that have radically changed their API to include new features in C ++ 11, and my previous point is still worth it.
Changing the signatures of API functions is dangerous because you are breaking backward compatibility. If / when these changes arrive, I expect them to be additions to the API, not changes. Perhaps someone here knows very recent changes to existing libraries that I don't know about.
Ed S.
source share