# Request: Make SIMDRegister a literal type

**URL:** <https://forum.juce.com/t/request-make-simdregister-a-literal-type/27874>\
**Category:** General JUCE discussion\
**Created:** [May 25, 2018, 11:30pm UTC](https://forum.juce.com/t/request-make-simdregister-a-literal-type/27874 "2018-05-25T23:30:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tytel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/tytel/32/655_2.png) [@tytel](https://forum.juce.com/u/tytel)\
**Post date:** [May 25, 2018, 11:30pm UTC](https://forum.juce.com/t/request-make-simdregister-a-literal-type/27874/1 "2018-05-25T23:30:08Z")

</div>

Since JUCE is C++11 now, it would be useful for SIMDRegister to be a literal type so we can make constexpr values and constexpr functions that return a SIMDRegister.

I think all that needs to change are that the constructors need to be marked constexpr and the destructor removed.

---

<div class="post-metadata">

**Author:** ![tytel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/tytel/32/655_2.png) [@tytel](https://forum.juce.com/u/tytel)\
**Post date:** [May 25, 2018, 11:47pm UTC](https://forum.juce.com/t/request-make-simdregister-a-literal-type/27874/2 "2018-05-25T23:47:39Z")

</div>

Orrrrr maybe it’s not possible and I need to read more about literal types.
