Article 55MGC Zwei neue Schlüsselwörter in C++20: consteval und constinit

Zwei neue Schlüsselwörter in C++20: consteval und constinit

by
from heise online News on (#55MGC)

Code-2c308f33625d44fc.jpeg

consteval erzeugt eine Funktion, die zur Compilezeit ausgefuhrt wird, und constinit sichert zu, dass eine Variable zur Compilezeit initialisiert wird.

External Content
Source RSS or Atom Feed
Feed Location http://www.heise.de/newsticker/heise.rdf
Feed Title heise online News
Feed Link https://www.heise.de/
Reply 0 comments