tragic on Nostr: C++ also has templates (one definition multiple types) and concepts (constrain the ...
C++ also has templates (one definition multiple types) and concepts (constrain the accepted types to have particular properties) which are all resolved at compile time.
Published at
2024-09-19 19:17:02Event JSON
{
"id": "cb8376c37668044bad0e16e9b6081d4fe36585b96c73079d0ecc2482153b80b8",
"pubkey": "e3fc673fc5f99cc554d0ff47756795647d25cb6e6658f912d114ae6429d35d35",
"created_at": 1726773422,
"kind": 1,
"tags": [
[
"e",
"56117db669cfbad76dd341991c8a939d8055ec94e37e28cfc1a9d036d80f722e",
"",
"root"
],
[
"e",
"a7138b171f1b28d7d21b538e531c9f1404fd2a8c53e6b468227f431d8b216282",
"",
"reply"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
],
[
"p",
"f683e87035f7ad4f44e0b98cfbd9537e16455a92cd38cefc4cb31db7557f5ef2"
],
[
"p",
"e3fc673fc5f99cc554d0ff47756795647d25cb6e6658f912d114ae6429d35d35"
]
],
"content": "C++ also has templates (one definition multiple types) and concepts (constrain the accepted types to have particular properties) which are all resolved at compile time.",
"sig": "816a4d45a922d65a2e3254d265152eede35898a16283eae11f231a8e9e681d4465660667a47ad2720a141f81c99be685ddfe35b1b21c480b4e0cde3dad7ebdc0"
}