NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
C++26: Reflection, Memory Safety, Contracts, and a New Async Model (infoq.com)
HeliumHydride 59 minutes ago [-]
The class(metaclass) {...} syntax is not part of C++ yet. It is part of a proposal targeted for C++29.
nulltrace 42 minutes ago [-]
Right, metaclass is a ways off. But even without it, just the core reflection is going to save a ton of boilerplate. Half the template tricks I've written for message parsing were basically hand-rolling what `^T` will just give you.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 00:10:26 GMT+0000 (Coordinated Universal Time) with Vercel.