Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
HeliumHydride
12 days ago
|
parent
|
context
|
favorite
| on:
C++26: Reflection, Memory Safety, Contracts, and a...
The class(metaclass) {...} syntax is not part of C++ yet. It is part of a proposal targeted for C++29.
help
nulltrace
12 days 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.
reply
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: