# FR: Support structured binding with JUCE types

**URL:** <https://forum.juce.com/t/fr-support-structured-binding-with-juce-types/52285>\
**Category:** Feature Requests\
**Created:** [July 22, 2022, 4:02pm UTC](https://forum.juce.com/t/fr-support-structured-binding-with-juce-types/52285 "2022-07-22T16:02:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![PluginPenguin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pluginpenguin/32/10203_2.png) [@PluginPenguin](https://forum.juce.com/u/PluginPenguin)\
**Post date:** [July 22, 2022, 7:04pm UTC](https://forum.juce.com/t/fr-support-structured-binding-with-juce-types/52285/3 "2022-07-22T19:04:22Z")

</div>

Adding structured binding support for arbitrary custom types works by supplying template specialisations for `std::tuple_size`, `std::tuple_element` and `std::get`. [This blog entry](https://blog.tartanllama.xyz/structured-bindings/) describes it in detail.

Since these are free functions, you can just implement them yourself in your code without needing to wait for JUCE to implement it.

Still I support this request, I think there are some types that could benefit from it. By the way, `dsp::ProcessorChain` already supports it, which is quite handy, I don‘t know if there are already further JUCE types with structured binding support?

---

_[View the full topic](https://forum.juce.com/t/fr-support-structured-binding-with-juce-types/52285)._
