fortunately views can put pointers back to their place. They're only very recently implemented and still experimental and thus this example below (which I think is correct) segfaults at runtime 🙁: {.experimental: "views".} proc test() = var x = 42 y: var int = x y = 52 echo x test() Run
- Reference Variable (C++ jargon) - is there such a beast? HJarausch
- Reference Variable (C++ jargon) - is there such a beast? lqdev
- Reference Variable (C++ jargon) - is there such a be... HJarausch
- Reference Variable (C++ jargon) - is there such ... doofenstein
- Reference Variable (C++ jargon) - is there s... cblake
- Reference Variable (C++ jargon) - is th... lqdev
- Reference Variable (C++ jargon) - i... Yardanico
- Reference Variable (C++ jargon)... timothee
- Reference Variable (C++ jargon)... slonik_az
- Reference Variable (C++ jargon)... Araq
- Reference Variable (C++ jargon)... mratsim
- Reference Variable (C++ jargon)... demotomohiro
- Reference Variable (C++ jargon)... HJarausch
- Reference Variable (C++ jargon)... Araq