---
title: "Discussion on \"How a conditional ref expression decompiles\" | Hashnode"
description: "Discussion on \"How a conditional ref expression decompiles\". Write cond ? a : b and you get a value — a copy of whichever operand won. Write cond ? ref a : ref b and you get something stranger: a reference to whichever variable won, an lvalue you can assign thr"
url: "https://hashnode.com/posts/how-a-conditional-ref-expression-decompiles/6b1178dcc13ab3b6e068964d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How a conditional ref expression decompiles](https://delta1labs.hashnode.dev/how-a-conditional-ref-expression-decompiles?utm_source=hashnode&utm_medium=feed)

Write cond ? a : b and you get a value — a copy of whichever operand won. Write cond ? ref a : ref b and you get something stranger: a reference to whichever variable won, an lvalue you can assign thr

1d ago · 10 min read · delta1labs.hashnode.dev  
Updated 6h ago  
Read the article

-   [#glassnet](https://hashnode.com/tag/glassnet)
-   [#decompilation](https://hashnode.com/tag/decompilation)
-   [#il](https://hashnode.com/tag/il)

## Written by

[Zero Heartbeat](https://hashnode.com/@clustron)

@clustron

  
[View profile](https://hashnode.com/@clustron)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
